[ + | - ]

How To...

sketch

Draw A Heart

Use Beziér curves

sketch

Make A Simple Robot

A basic, simple, robot. Then another version centered on 0,0 so you can use translate() more easily

Simplest Movement

Simplest Movement

The simplest possible way to move a robot

sketch

Wrap Around

Wrap an object around so it appear on the opposite side as soon as it goes off the edge

sketch

Buttons Anywhere

Buttons you can use anywhere to do anything

sketch

Simple Key Control

Use different keys on the keyboard to trigger different events

sketch

Multiple Key Control

Same as simple key control, but more functions

sketch

Timed Animations

Using a timer to trigger a recurring event, like an eye blink

sketch

Simultaneous Animations

Move the robot's arms with keys and also have it blink

Rotating Wheel sketch

Rotating Wheel

Rotate a wheel with spokes drawn with a for loop, then add some fancier motion when the robot is moving left or right

Rotating Wheel sketch

Dancing Arms

Complex nested matrices controlled with the mouse

Image Scroll sketch

Image Scroll

Move multiple images seamlessly and eternally to imply 3 dimensions

Googly Eyes sketch

Googly Eyes

Eyes use trigonometry [atan2(a,b)] to follow the mouse, and a laser canon using the same technique

Triggered Sound sketch

Triggered Sounds

Using Processing Sound library to create a laser beam blast triggered with the space bar

Rotating Wheel sketch

Looping Sounds

Using Processing Sound library to create a continuous looping sound effect when a robot moves

Rotating Wheel sketch

Multi Robots

Using Processing Sound library to create a continuous looping sound effect when a robot moves

Direct Link