Ballarat, Victoria, AUSTRALIA
http://www.rupert.id.au/tutorials/p...
member since April 10, 2011
profile picture

portfolio of
rupert russell

Square Packing

A rough and ready square packing program
used an array to hold the location of existing squares. Not very efficient but it works.

Lines

Draws random lines that fade from dark to light and back again over random periods

Dice

Simulates a dice.
Press the mouse to stop the dice.

Spirograph

A variation of Spirograph by Ali Khan, licensed under Creative Commons at OpenProcessing.org.

http://www.openprocessing.org/visuals/?visualID=17230

Used to create http://www.redbubble.com/people/rupertrussell/t-shirts/7055494-spirograph-v

Oscilloscope

From http://www.openprocessing.org/visuals/?visualID=6269

R for rose
P for parametric
L for lissajous

move the mouse to change frequencies
don't drag outside the applet.

1, 2, or 3 when running Lissajous to run preset values

Note offline Applet version will not work with
Jave 6 update 21 use Update 20 instead
see:
http://forum.processing.org/topic/is-jre-6-update-21-working-with-processing-applet


Simulation of Motion

Simulation of Motion by Rob Saunders

Scaling

Scaling
To keep the same stroke weight and scale a shape, divide the parameter of the strokeWeight() function by the scale value.

Slide 28

// Rob Saunders
// web: http://web.arch.usyd.edu.au/~rob
// rob@arch.usyd.edu.au
// office: Room 274, Wilkinson Building

// A Little Trigonometry and a Bit of Randomness
// http://web.arch.usyd.edu.au/~rob/teaching/2010/DECO1012/lectures/DECO1012-Lecture-04.pdf

Loops

// Based on loops
// by David Bouchard
// http://www.openprocessing.org/visuals/?visualID=23893

Click mouse to change shapes

Bezier II

Move the mouse to draw curves
Click the mouse to clear the screen
Press any key to toggle fill

Lissajous 2

// Based on Microworlds LOGO code from http://www.mathcats.com/gallery/15wordcontest.html
// repeat 360 [setxy (sin(2 * repcount)) * 150 (sin(3 * repcount)) * 150]

Lissajous

Draws a Lissajous figure.
Try different values for a & b
eg a=1, b=3; a=1, b=2; a = 3, b = 4; a=9, b=8;

Hexagons

Draw with the mouse on the black canvas.

Spiral v2

Creates a spiral.

Scintillating Grid

// Scintillating Grid
// Author: Rupert Russell
// October 2, 2010
// Schtauf, M., Lingelbach, B., Wrist, E.R. (1997)
// The scintillating grid illusion. Vision Research,
// 37, 1033-1038.

followed by
3
following
0

collections and classrooms

not contributed to any collections or classrooms yet.

favorites

Share Share Subscribe to sketches