Skip to content

Examples

Shapes and Colors

Animations and Variables

  • Doodle Draw - Create a basic drawing program tracking mouse movements
  • Drawing Lines - A drawing program demonstrating HSB colorMode
  • Animation with Events - Pause and resume animation.
  • Conditions - Use if and else statements to make decisions while your sketch runs.
  • Basic Pong - A simple program demonstrating a basic implementation of pong with enemy AI player
  • Walking Lines - Animated intersecting lines
  • 10Print - An implementation of the classic maze-drawing algorithm
  • Conway's Game Of Life - An implementation of the zero-player game and simulation formulated by mathematician John Conway

Imported Media

Object-Orientation

  • Random Robot Objects - Demonstrates two different Lua patterns - classes with metatables and simple table objects