Nice! This is really useful.
Off the top of my head, standalone art pieces, although I suppose Processing (minus the .js) would work for this too.
On Thu, Oct 15, 2009 at 3:17 PM, Cary Hull <cary...@gmail.com> wrote:On Thu, Oct 15, 2009 at 3:10 PM, @F1LT3R <f1l...@hyper-metrix.com> wrote:
Nice! This is really useful.
Really? What are the use cases for such a thing?
savanevery wrote:
> Hi All,
>
> One thing that Processing has that Processing JS is missing is Serial
> access. I wrote a Java Applet to JavaScript bridge to allow that..
> Perhaps it could be adopted by Processing.js?
>
> http://www.walking-productions.com/jsserial/new/JSSerial.html
>
> -shawn
>
> >
>
>
--
01100011 01100001 01110010 01111001
*Primary use case:*
To plug your brain into Processing.js Carry, and delete your locally
scoped 'I must tell everyone this is pointless.' reflex.
*Secondary use case:*
One of my clients builds web apps for teaching in the classroom, and
uses <Canvas> because it runs well in their environments; they find that
using Flash or Java for graphics causes refreshing problems to the point
of actual in-usability. Part of their work involves interactive charts,
built in real-time from scientific measuring equipment. These measuring
devices plug in to... well... serial ports.
> <mailto:f1l...@hyper-metrix.com>> wrote:> 01100011 01100001 01110010 01111001
>
>
> Nice! This is really useful.
>
>
> Really? What are the use cases for such a thing?
>
>
>
> savanevery wrote:
> > Hi All,
> >
> > One thing that Processing has that Processing JS is missing is
> Serial
> > access. I wrote a Java Applet to JavaScript bridge to allow that..
> > Perhaps it could be adopted by Processing.js?
> >
> > http://www.walking-productions.com/jsserial/new/JSSerial.html
> >
> > -shawn
> >
> > >
> >
> >
>
>
>
>
>
>
> --
>
> >
| Anything else?
A web based multi-player Processing arcade-style game where the looser
gets an electric shock. If I build it Carry, will you play? Even better,
would you agree to be filmed playing against me on YouTube? Where do you
live?
That's what I mean. I can't imagine what I'd want to communicate with over serial from a web browser.
I can imagine plenty of applications, for instance a physical gallery piece affected by participants across the web.On Oct 15, 2009, at 5:24 PM, Cary Hull wrote:That's what I mean. I can't imagine what I'd want to communicate with over serial from a web browser.
--GregOn Thu, Oct 15, 2009 at 3:17 PM, Cary Hull <cary...@gmail.com> wrote:On Thu, Oct 15, 2009 at 3:10 PM, @F1LT3R <f1l...@hyper-metrix.com> wrote:
Nice! This is really useful.
Really? What are the use cases for such a thing?
savanevery wrote:
> Hi All,
>
> One thing that Processing has that Processing JS is missing is Serial
> access. I wrote a Java Applet to JavaScript bridge to allow that..
> Perhaps it could be adopted by Processing.js?
>
> http://www.walking-productions.com/jsserial/new/JSSerial.html
>
> -shawn
>
> >
>
>
--
01100011 01100001 01110010 01111001
--
01100011 01100001 01110010 01111001
So, guys, have you any thoughts on how to implement this in
JavaScript?
Really usefull and awesome plugin, thx.)
On Oct 16, 2:10 am, "@F1LT3R" <f1l...@hyper-metrix.com> wrote:
> Nice! This is really useful.
>
>
>
> savanevery wrote:
> > Hi All,
>
> > One thing that Processing has that Processing JS is missing is Serial
> > access. I wrote a Java Applet to JavaScript bridge to allow that..
> > Perhaps it could be adopted by Processing.js?
>
> >http://www.walking-productions.com/jsserial/new/JSSerial.html
>
> > -shawn
If I understand your thoughts correctly... it's actually slower to push
data from hardware through a server like Apache and you have to assume
your user will be running a server also. Using a plug in you are getting
closer to hardware speeds with less disk writing etc. You could set up
some back end services to listen and hold something in memory, but I bet
you it would still be slower than using a Java pugin.
I was pushing MIDI through PHP that was then pushed into the Window
through an iFrame. Which was quick enough really, but not as fast as it
could have been Java hardware access.
If I understand your thoughts correctly... it's actually slower to push
>
> Hmm, why not just do that server side?
>
>
>
> --Greg
>
data from hardware through a server like Apache and you have to assume
your user will be running a server also. Using a plug in you are getting
closer to hardware speeds with less disk writing etc. You could set up
some back end services to listen and hold something in memory, but I bet
you it would still be slower than using a Java pugin.
I was pushing MIDI through PHP that was then pushed into the Window
through an iFrame. Which was quick enough really, but not as fast as it
could have been Java hardware access.
Right.. A (self) signed Java Applet that acts as a bridge. The hard
part was getting through all of the Java and JavaScript sandbox
issues. Unfortunately when you use JavaScript to access Java Applets
the code that the JavaScript calls acts as if it is unsigned. This
Applet uses a thread to take care of those issues.
On Oct 16, 12:32 pm, Cary Hull <cary.h...@gmail.com> wrote:
> On Fri, Oct 16, 2009 at 9:16 AM, nuxdie <nux...@gmail.com> wrote:> 01100011 01100001 01110010 01111001
>
> > So, guys, have you any thoughts on how to implement this in
> > JavaScript?
>
> What do you mean exactly? jsserial simply acts as a bridge to java code,
> which needs to
> be granted access to system resources.
>
> Also, folks, getting the applet setup so it can access the serial port is
> more involved than one might think:http://forums.sun.com/thread.jspa?messageID=9984491
>
>
>
>
>
> > Really usefull and awesome plugin, thx.)
>
> > On Oct 16, 2:10 am, "@F1LT3R" <f1l...@hyper-metrix.com> wrote:
> > > Nice! This is really useful.
>
> > > savanevery wrote:
> > > > Hi All,
>
> > > > One thing that Processing has that Processing JS is missing is Serial
> > > > access. I wrote a Java Applet to JavaScript bridge to allow that..
> > > > Perhaps it could be adopted by Processing.js?
>
> > > >http://www.walking-productions.com/jsserial/new/JSSerial.html
>
> > > > -shawn
>
> --
I made it as I am teaching a class in JavaScript/PHP NYU's Interactive
Telecommunications Program that is normally taught in Processing and
one of the things that needs to be accomplished in the course is to
interface with devices via serial. JavaScript made more sense to me
than teaching how to setup a server and talk serial through PHP. I do
agree that it is arguable which is the better way to go..
I do think that it makes for an interesting space to explore
alternative input devices. One compelling thing that I can think of
is that it would work well for experimental assistive technology
(mouth control of a browser or single finger). In general, I think it
opens the door for a lot experimentation along these lines.
Browsers have been limited to a mouse and keyboard for way too long.
Perhaps certain pages should use physical dials and buttons and others
use gloves with accelerometers.. Isn't Google Maps just ripe for
that??