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
TISSUE
pawan_pharm
0
280
BRIEF OUTLINE OF IMPORTANT PLANT CONSTITUENTS
pawan_pharm
0
210
【ainiチャット操作ガイド】
ainischool
0
120
新入社員を「あの子」と呼ばない運動 -PBL その前に- / Stop Calling New Hires "Kids"
aokiplayer
2
930
SANG PENCIPTA BERBICARA (01ABSG-Q4-2026)
ssmedikasda
0
470
日本における応用言語学・言語教育学これまでとこれから
terasawat
0
170
生成AIとの付き合い方/ How to work with AI
kaityo256
PRO
3
890
GENERAL PHARMACOLOGY
pawan_pharm
0
210
CLASSIFICATION OF CRUDE DRUGS
pawan_pharm
0
220
DRUGS ACTING ON THE PERIPHERAL NERVOUS SYSTEM
pawan_pharm
0
160
観察、仮説、実行、検証、計画、提案を一年で3000回トレーニングする方法/3000 Thinking Loops in 365 Days
moriyuya
5
1.5k
Human Perception and Cognition - Lecture 4 - Human-Computer Interaction (1023841ANR)
signer
PRO
0
1.7k
Featured
See All Featured
Deep Space Network (abreviated)
tonyrice
0
370
Designing Powerful Visuals for Engaging Learning
tmiket
1
610
From π to Pie charts
rasagy
1
400
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.5k
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
3
1.4k
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
2
950
Agile that works and the tools we love
rasmusluckow
331
22k
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
The Language of Interfaces
destraynor
162
27k
sira's awesome portfolio website redesign presentation
elsirapls
0
460
The Cult of Friendly URLs
andyhume
79
7k
Speed Design
sergeychernyshev
33
2.2k
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