New Javascript Sketches

Over the past months I’ve been playing around with Spacebrew using javascript, processing and arduinos. I had a lot of fun with my explorations and in the process I developed a bunch of sketches, some simple others more involved. This past weekend I uploaded a selection of javascript sketches. Here is a quick overview of the new stuff you'll find in the javascript examples repo on github:

iPhone Events!

iPhone Events!

  • iphone events: web app that forwards iphone accelerometer and gyrometer events to spacebrew. Has not been tested on other phones but should work on phones that support the appropriate html5 features.
  • colored screen: simple app that controls the background color of a browser window. It accepts three range values from spacebrew and uses those values to set the page’s background color. I played around with this sketch by running it on fullscreen on three  computers and controlling the color using the iphone events app on my phone.
  • slideshow:  simple social slideshow app. It accepts strings that contain urls that point to images and adds new images to the slideshow. The images are played in a continuous loop, and can also be controlled by commands received through spacebrew.
  • text transform: transforms text messages from spacebrew. The user interface enables users to link a “key” message to a “mapped” message (this combination is called a transform map). The app listens for incoming messages from spacebrew. If an incoming message is matched to a “key” message, then the corresponding “mapped” message is sent out to spacebrew.
  • url launcher (chrome extension): controls the navigation of your chrome browser. It accepts a string that contains a url. It also publishes a boolean value when the browser has been idle for a period of time that can be specified via the query string.  **disclaimer** this app will seriously take over your chrome browser so read the readme. Ok, it won't harm your machine but it may require that you quit out of chrome and disable the extension to learn how to configure the app via the query string.

I hope you find these sketches useful. Let me know if you have any questions (I'll be at the jam tomorrow night). I’ll also upload the arduino and processing sketches over the coming weeks.

Download these sketches and other spacebrew javascript examples.

Spacebrew Hotel Hack

Josh remotely switches a lamp on with Spacebrew.  

Josh remotely switches a lamp on with Spacebrew.

 

Josh and James were in Austin, Texas on Wednesday and Thursday for a conference. They took some time from their busy schedules to hack their hotel rooms with Spacebrew. Thank you to InterContinental Hotel for another successful jam!


Reminder

Our November Jam Session is tomorrow from 1PM-6PM. We'll be providing snacks, drinks, and an assortment of electronics and accessories for your hacking pleasure. Hope to see you there!

Testing Spacebrew 30,000 ft in the Air

Josh and James jamming across the aisle on their flight to Colorado.

Note the graph and sliders with Josh on one side representing software as input and output and the heart-rate monitor and LED bargraph near the camera with James representing hardware.

So much fun putting all these hardware and software components together on the fly!

The LAB (& co.) hard at work! Timelapse of the LAB’s Back Bay area during the Spacebrew Jam Session / Hackathon on October 5, 2012 from 3PM-8PM. The Back Bay was one of three areas used to build prototypes to test and develop Spacebrew - an open source dynamic toolkit for creating interactive spaces. Check it out here: spacebrew.cc

Prototypes made in the Back Bay area:
• Heart-rate LED light (brightness based on pulse).
• Motorized monitor flag that can be raised remotely (for getting a headphone-wearing coworker’s attention).
• Motorized laundry line messenger system (clip a note to the line deliver to the other side of the room).

Music: Complesso Tecnico Disadattato by Cobol Pongide