Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
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
88
River JS
andykent
2
660
Creek
andykent
1
86
Scalling Node to 50 Million Requests
andykent
5
310
Other Decks in Education
See All in Education
Geografía y Fútbol: Chattanooga Geografía del Búnker de La Roja.
juanmartin2026
1
12k
DecisionesEjecutivasCrisis
mariooc
0
330
Quality Control of Crude Drugs
pawan_pharm
0
160
Visionary Initiative: Future Intelligence 「未来の知性と社会の礎を築く」|Science Tokyo(東京科学大学)
sciencetokyo
PRO
0
1.7k
[2026前期火5] 論理学(京都大学文学部 前期 第13回)「走って、止まって、積み上がる」
yatabe
0
230
新入社員を「あの子」と呼ばない運動 -PBL その前に- / Stop Calling New Hires "Kids"
aokiplayer
2
860
輻射安全管理系統2.0暨輻防e++學園平台說明會
aecrp
0
2.1k
AI Generated Beer
lonbrew
0
120
Introduction to M&A
bvr7352
0
210
2026年度春学期 統計学 第15回 分布についての仮説を検証する ― 仮説検定(2) (2026. 7. 9)
akiraasano
PRO
0
140
2026年度春学期 統計学 第13回 不確かな測定の不確かさを測る ― 不偏分散とt分布 (2026. 6. 25)
akiraasano
PRO
1
190
Examen de Selectividad. Geografía junio 2026 (Convocatoria Ordinaria). UCLM
juanmartin2026
1
6.8k
Featured
See All Featured
We Are The Robots
honzajavorek
0
380
Navigating Team Friction
lara
192
16k
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
660
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
400
4 Signs Your Business is Dying
shpigford
187
23k
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
470
Heart Work Chapter 1 - Part 1
lfama
PRO
10
36k
A designer walks into a library…
pauljervisheath
211
25k
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
330
My Coaching Mixtape
mlcsv
0
320
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
240
Agile that works and the tools we love
rasmusluckow
331
22k
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