Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Coder Dojo London Fireworks

Andy Kent
November 03, 2012

Coder Dojo London Fireworks

Andy Kent

November 03, 2012
Tweet

More Decks by Andy Kent

Other Decks in Education

Transcript

  1. fireworks.display(function() { fireworks.make({ x: 300, height: 400, direction: 2 }).launch()

    fireworks.make({ x: 300, height: 400, direction: -2 }).launch() })
  2. fireworks.display(function() { fireworks.make({ colour:‘red’, x: 50, repeat: 5, wait: 4

    }).launch() fireworks.make({ colour:‘green’, x: 250, repeat: 5, wait: 4 }).launch_in(2) })
  3. 1Minute Long Display fireworks.make({OPTIONS}).launch() fireworks.make({OPTIONS}).launch_in(SECONDS) colour, x, height, direction, repeat,

    wait fireworks.explode_at({ x:100, y:100 }) fireworks.on_click(function(x,y) { }) fireworks.on_move(function(x,y) { }) fireworks.after(SECONDS, function() { }) fireworks.every(SECONDS, function() { }) red, orange, yellow, green, cyan, blue, violet, magenta, pink