- new window = sun on my face whilst I work
wonderful.. # - Heavyside, Jamie Allen » 'killing Lena' video image compression artwork, http://bit.ly/xwxLE #
Archive for August 2009
The week that was
processing.js
This is a quick test of HasCanvas for publishing processing sketches in a web browser. HasCanvas is built on the very nifty processing.js platform, which means publishing processing sketches is about as easy as clicking 1 + 2 + 3.see for yourself;
Related Posts:
simple metro
For students in the 11217 introduction to construction class;Here is an example of a simple metronome counter which moves a line up and down a sketch window over a period of time. You should be able to follow the comments included to see how you might plug your sensors and motors into this sketch to easily arrange for your motors to move a) automatically left/right over a period of time and b) increasing in intensity based on a reading from your slider/light/proximity sensors.For the purposes of instruction and demonstration, i’ve connected the line movement to simple mouse input – move the mouse left/right to influence up/down motion – so you can see how your sensors might influence pre-programmed movement.Give this sketch a try… Read more
Related Posts:
The week that was
- This is very cool – electronic ruler http://bit.ly/ofp0T, reminds me of that drawdio pencil http://bit.ly/1zDwlz #
- pulling data vis ideas from the data itself. #
- It looks like Eric Schmidt has #gonegoogle #
- RT @eyebeams [realtime search results at TweetGrid http://bit.ly/2R2lZr this is very nice, finger on the pulse of twitter #
- salsa class - so good, so hot right now, way more fun than i expected.. 1, 3, 5, 7... where's 4 and 8? #
- @rbeson i was going to mention that to you... too bad, maybe it'll make its way here in a year or so
in reply to rbeson # - btw tuesday night is now salsa night
arrrrrrrrrrrriba! # - I can't imagine a better series of #processing tutorials http://bit.ly/10AFl2 so much to learn, so little time, thanks @shiffman #
- @tonycurran think you could make something amazing with this? http://bit.ly/rhonda #
- Heading to #powerhouse museum 6pm tonight for Bert Bongers' installation 'Through the roof' - come and play
# - RT @infosthetics futuristic interfaces at siggraph http://bit.ly/ejSD5 ultrasonic feedback is nice, scratchable gestures also
# - addicted to @kitsunenoir mixtapes #
- What a wonderful idea, the analogue ink calendar http://bit.ly/qJf5v #
- spectacular long exposure helicopter flight diagrams http://bit.ly/WGBn7 #
- Posting - blob tracking, meet fluid particle system http://bit.ly/vkRiG #
- Nice combination of familiar elements, table interface for historical social network http://bit.ly/BCMA7 #
- Augmented Reality + pachube data vis, http://bit.ly/12uA6B [via cityofsound] #
- Living structures – bridges built from tree roots http://bit.ly/3OmO1 [via kottke] #
- “we’re just not making Macintosh computers like we used to make them” http://bit.ly/CReje thanks @frankmaguire #
- more fluids! http://bit.ly/19g8PO #
- just stumbled across this, marble sizes (aka earth vs jupiter) http://bit.ly/2TlwE8 for all the marble geeks out there #
- i love nora #
- @burns only 1m? i thought your dab lab piece extended into infinity.. #
- Fermat’s spiral, complete with gui. http://bit.ly/MzwPR go have a play, nicely mesmerising #
- late nights always feel so productive, not so great in the morning. springs + attraction why do you toy with me? #
- I can’t remember the last time my mobile phone location displayed “ruse”.. #oldschool #
- Stupidly low res jpgs of the UTS winning entry + no download for more info.. http://bit.ly/utscomp #
Related Posts:
Phidget Interface Kit + Processing
Here’s a simple example for connecting a PhidgetInterfaceKit 8/8/8 to a computer, using Processing.
You will need to download the phidget21.jar package from the phidgets website, find it in the ‘Programming’ section in the java examples section. Once downloaded, just use Sketch>Add File… to add the file to your sketch. Connect via USB and you’re ready to go. I’ve labelled variables based on the sensors I was using, feel free to reassign and use as you will;… Read more
Related Posts:
Phidget Servo motor output via Processing
I’m currently preparing for a short piece of processing tutoring in the Bachelor of Architecture course, commencing tomorrow. The course is a 1st year construction subject, in which the year group is designing modular structures from found objects (read; whatever they can find in large amounts at Reverse Garbage), with a 12-15 unsuspecting students are going to be shown the slippery slope that is processing, all in the aim of augmenting small construction projects with responsive elements.I’ve used the standard phidget servo motors with max/msp before, but I’ve decided to switch focus to processing so such solutions will no longer suffice. There are some benefits to not using max/msp in the university context;
- Runtime – i can’t count the number of times we’ve built test prototypes and final projects only to see them fall over due to the small number of licences we’ve access to on campus. The runtime solution is acceptible for last minute, last chance, last straw moments but it’s just not good enough for day to day use or experimentation.
- The extraordinary cost of licensing – the licences bought by the university come at a ridiculous cost, not to mention the involved installation process. Processing by comparison is such a simple install – for both the core components and the additional libraries.
- Extensibility – max/msp additional objects are always a welcome addition to the program, however the objects themselves tend to be closed off, limited in how much they reveal of their inner workings and can be fairly slow.
To this end I’ve enjoyed the processing learning curve, there’s been more than enough learning resources available online and in book form, so I’m definitely pushing for its’ inclusion in the syllabus in the arch. faculty. Anthony Burke has been teaching processing in the master of architecture course this semester (with assistance from the computation whiz-kid Ben Coorey), so along with the arduino hardware the transition from proprietary to open-source projects is well under way in the DAB.So to proceed with the real agenda of this post, I was searching for simple code to interface with the PhidgetServo motor output units we’ve been using, this time working in processing. I couldn’t find any decent examples online so had to cobble together one myself.Read on for more;… Read more