Code

How to use Processing in Android mode with the IOIO board

A little while ago I was asked whether it would be possible to control hardware from a phone with the IOIO board from code written in Processing’s Android mode.  Turns out you can – making it quite easy to develop

/ 15 Comments

How to use Processing in Android mode with the IOIO board

A little while ago I was asked whether it would be possible to control hardware from a phone with the IOIO board from code written in Processing’s Android mode.  Turns out you can – making it quite easy to develop

/ 15 Comments

Dangershield VJDJ Code

NOTE – this code is for Processing, but was written in Eclipse with the help of the wonderful Proclipsing plugin, so you may need to make some adjustments if you’re running it straight from the Processing IDE.   And here

/ 2 Comments

Dangershield VJDJ Code

NOTE – this code is for Processing, but was written in Eclipse with the help of the wonderful Proclipsing plugin, so you may need to make some adjustments if you’re running it straight from the Processing IDE.   And here

/ 2 Comments

UCube v08 – now with OpenGL and Toxiclibs!

Significant code upgrade in UCube v08 – I switched graphics libraries from P3D to OpenGL, and — more importantly — stabilized the .stl file export by switching to toxiclibs – now pretty much any .stl file will be able to

/ 2 Comments

UCube v08 – now with OpenGL and Toxiclibs!

Significant code upgrade in UCube v08 – I switched graphics libraries from P3D to OpenGL, and — more importantly — stabilized the .stl file export by switching to toxiclibs – now pretty much any .stl file will be able to

/ 2 Comments

Newhull Library v1.0

In case there is anyone interested in using a robust convex hull algorithm in Processing, here’s a link to a library I made, a slightly modified version of the QuickHull3D library by John Lloyd (check his documentation here). Library: newhull

/ No comments

Newhull Library v1.0

In case there is anyone interested in using a robust convex hull algorithm in Processing, here’s a link to a library I made, a slightly modified version of the QuickHull3D library by John Lloyd (check his documentation here). Library: newhull

/ No comments

Laser Art Code

Below is some code I wrote up to make fun shapes to laser etch. It uses an new version of the convex hull library I’ve been writing called newhull (which I will release shortly), as well as the pdf export

/ No comments

Laser Art Code

Below is some code I wrote up to make fun shapes to laser etch. It uses an new version of the convex hull library I’ve been writing called newhull (which I will release shortly), as well as the pdf export

/ No comments

uCube code – no serial

This is some code for an early version of the UCube that doesn’t rely on Serial input. Useful for testing.

/ No comments

uCube code – no serial

This is some code for an early version of the UCube that doesn’t rely on Serial input. Useful for testing.

/ No comments

uCube v.01

Here’s the first version of the uCube code, which integrates the convexhull + stl code with taking input from the physical 4x4x4 cube. You will need the libraries I mentioned in the convex hull example, plus the serial library. The

/ No comments

uCube v.01

Here’s the first version of the uCube code, which integrates the convexhull + stl code with taking input from the physical 4x4x4 cube. You will need the libraries I mentioned in the convex hull example, plus the serial library. The

/ No comments

Convex Hull + STL Export

Big breakthrough today on the way toward realizing the UCube. I finally got code working in Processing that takes an arbitrary number of 3d coordinates (in x,y,z format), finds the convex hull, and is able to export a file of

/ No comments

Convex Hull + STL Export

Big breakthrough today on the way toward realizing the UCube. I finally got code working in Processing that takes an arbitrary number of 3d coordinates (in x,y,z format), finds the convex hull, and is able to export a file of

/ No comments

3d Geocube code – upgrade

Cleaned up and improved the code significantly for the 3d geocube (working title). Thought I’d post it, mostly for my own records. Note that the newer Arduino code uses the String library to format the xyz coordinate strings. I hear

/ No comments

3d Geocube code – upgrade

Cleaned up and improved the code significantly for the 3d geocube (working title). Thought I’d post it, mostly for my own records. Note that the newer Arduino code uses the String library to format the xyz coordinate strings. I hear

/ No comments

Early 3D grid code

So, as part of my research at the Craft Tech Lab, I have been assigned to (attempt) to build an input device. This device would be in the form of a physical grid, in three dimensions, whereby the user would

/ No comments

Early 3D grid code

So, as part of my research at the Craft Tech Lab, I have been assigned to (attempt) to build an input device. This device would be in the form of a physical grid, in three dimensions, whereby the user would

/ No comments

SADbot v.05 Code

This is the Arduino code for version 5 of the SADbot. I believe this is the version that appears in the Making Things Move book.

/ No comments

SADbot v.05 Code

This is the Arduino code for version 5 of the SADbot. I believe this is the version that appears in the Making Things Move book.

/ No comments