Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Coder Dojo London Fireworks
Search
Andy Kent
November 03, 2012
Education
130
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Coder Dojo London Fireworks
Andy Kent
November 03, 2012
More Decks by Andy Kent
See All by Andy Kent
Coder Dojo London MIDI
andykent
2
83
River JS
andykent
2
650
Creek
andykent
1
83
Scalling Node to 50 Million Requests
andykent
5
300
Other Decks in Education
See All in Education
2026年度春学期 統計学 講義の進め方と成績評価について (2026. 4. 9)
akiraasano
PRO
0
200
Throw Yourself In! - How I've learned English and What I'm Facing
georgeorge
1
150
0513
cbtlibrary
0
190
The Lotus and the Frog
vyadav
0
130
Dashboards - Lecture 11 - Information Visualisation (4019538FNR)
signer
PRO
1
2.7k
勝手にCULTIBASE で広げよう、探究の輪! - CULTIVAL 2026
hiroc_sk
1
220
From Days to Minutes: How We Taught an AI to Onboard 50+ Tenants on our AI Features
mfcabrera
0
180
LinkedIn
matleenalaakso
0
4.4k
[2026前期火5] 論理学(京都大学文学部 前期 第4回)「 ならば(→)の導入と証明ネット」
yatabe
0
470
参加制約理論
roadofhope
0
120
AI時代に、 なぜ英語を勉強するのか
empelt
0
110
Info Session MSc Computer Science & MSc Applied Informatics
signer
PRO
0
290
Featured
See All Featured
AI Search: Where Are We & What Can We Do About It?
aleyda
0
7.6k
A designer walks into a library…
pauljervisheath
211
24k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
2
1.1k
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
190
Being A Developer After 40
akosma
91
590k
How to build a perfect <img>
jonoalderson
1
5.7k
Crafting Experiences
bethany
1
190
Typedesign – Prime Four
hannesfritz
42
3.1k
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
170
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2k
4 Signs Your Business is Dying
shpigford
187
22k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
Transcript
Fireworks!
Who has seen Fireworks?
Today we are Making Fireworks!
fwdtek.com/fireworks
A simple Firework
fireworks.display(function() { fireworks.make().launch() })
Change the Colour
fireworks.display(function() { fireworks.make({ colour:‘red’ }).launch() })
Change the Position
fireworks.display(function() { fireworks.make({ x:100 }).launch() })
Setting The Height
fireworks.display(function() { fireworks.make({ x:100, height:400 }).launch() })
Tweaking The Direction
fireworks.display(function() { fireworks.make({ x:100, height:400, direction:5 }).launch() })
Two Fireworks?
fireworks.display(function() { fireworks.make({ colour:‘red’ }).launch() fireworks.make({ colour:‘blue’ }).launch() })
fireworks.display(function() { fireworks.make({ x: 300, height: 400, direction: 2 }).launch()
fireworks.make({ x: 300, height: 400, direction: -2 }).launch() })
Adding Timings
fireworks.display(function() { fireworks.make({ colour:‘red’ }).launch() fireworks.make({ colour:‘blue’ }).launch_in(3) })
Multiple Shots
fireworks.display(function() { fireworks.make({ repeat:5 }).launch() })
Waiting for Launch
fireworks.display(function() { fireworks.make({ repeat:5, wait:2 }).launch() })
Putting it all together...
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) })
Fire!!!
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
onMove & onClick