Archive for November, 2007

Interactive 3-D Anaglyph

Monday, November 26th, 2007

_20071126_anaglyph_a
run the sketch—view the code

How do you use it?
1) Put on 3-D glasses.
2) Move the mouse up and down.
3) Duck.

What is it?
A first, quick attempt to make an interactive, stereoscopic 3-D image. This is using the good ol’ technology of the anaglyph.

Why is it cool?
It’s 3-D!

RGB Additive Color Demo.take1

Sunday, November 25th, 2007

_20071125_RGB_a
run the sketch—view the code

How do you use it?
Move the mouse around.

What is it?
An attempt to create a tool to help explain additive color.

Why is(n’t) it Cool?
It seems the alpha parameter of fill() doesn’t mix light the way I was hoping it would. The overlapping areas are not the correct colors to explain the additive color phenomenon. I’ll pick up on this later. (Maybe accessing the pixel array and changing the RGB values of each pixel directly?) Suggestions are welcome.

Bounce

Wednesday, November 21st, 2007

_20071121_bounce_a
run the sketch—view the code

Fractal Snowflake

Monday, November 19th, 2007

_20071119_flake2
view the sketch—view the code

How do you use it?
Move the mouse up and down. Up and Down arrows adjust the complexity (be careful, it will bog-down you machine pretty quickly).

What is it?
An iterative, fractal image.

Why is it cool?
I was just trying to make a snowflake!

Snowflake

Sunday, November 18th, 2007

_20071118_flake
view the sketch—view the code

How do you use it?
Move the mouse left and right. Up and Down arrows adjust the number of arms.

What is it?
A for loop in a function that spaces all the arms equally.

Why is it cool?
It snowed today for the first time this season. I want to make it iterative so there can be some more detail to it.

Book Arts Part IV: Picture Pages!

Saturday, November 17th, 2007

_20071117e_picturePagesOGL
download the sketch—view the code

How do you use it?
(Only the code today; there is no usable sketch. It seems OpenGL is not working in the browser. To see it run, download and unzip the sketch folder. It functions exactly the same as Wednesday’s except the “pages” are images instead of solid color.) Move the mouse to rotate the book. UP and DOWN arrow keys zoom. LEFT and RIGHT arrow keys change number of pages.

What is it?
A book. Similar to last Wednesday’s post, except it renders undistorted images and the correct z-depth.

Book Arts Part IIIb: Picture Page

Friday, November 16th, 2007

_20071114d_picturePagesOGL
view the sketch—view the code

How do you use it?
Move the mouse left and right.

What is it?
Mapping images onto a single page. This time with OpenGL instead of P3D.

Why is it cool?
OpenGL rocks!