Need For SpeedEvery car has a lot of speed in it. The trick is getting the speed out of it. – A J Foyt.
RocketBoots
SpeedIts AddictiveDISCLAIMER:We acknowledge that wikipedia makes it sound so cool but don’t try drugs.
Speed is awesomeApps feel lightweight.Brings the web to awhole new experience.Faster Pixel Math e.g. Computer Vision.
And it can be deadly tooPremature optimization is the root of all evil  - Donald Knuth.Design first, optimize later.
Sharpening the toolsFaster Algorithms
Code Tricks & Best Practices
Better Compiler Optimisations
Bytecode Manipulation
Thin RuntimesWhy its important to usThe only way of discovering the limits of the possible is to venture a little way past them into the impossible. - Arthur Clarke.
Contestants, start your engines
Who can push most pixels ?JavaScript (HTML5)Java (Applet)ActionScript 2.0ActionScript 3.0Silverlight 3.0Alchemy v0.5a / + Pixel BenderHaxe 2.05 with memory APIObjective-C / + GCDWebGLOpenGLPixel
The rules… No Cheating!!Create a massive amount of points in 3D Pixel Cloud.
Draw the pixel cloud on the screen every frame.
Reduce/increase particles until frame rate is close to 20 FPS.
Language specific optimisations allowed.The CreatureMac Book Pro 15”2.66GHz Core 2 Duo4GB RamGeForce 9400m(256 MB)Mac OSX (10.6.3)
The AlgorithminitBitmap();createParticles();//every framerenderParticles();Adjust particles until frameRate ~= 20FPS.
Performance ComparisonsShow each demo. (The fun stuff)Briefly explain code.Measure number of particles when they become stable.Plot in Excel Chart.
Java Applet
Action Script 2
Action Script 3
Alchemy v0.5a
Alchemy v0.5a with Pixel Bender
HAXE 2.05 with memory API
HTML 5.0 + JavaScriptSafari CrashedInternet Explorer 8 Doesn’t support it yet
Silverlight 3.0
Need For Speed
To Infinity and BeyondNightly Builds of May 6 2010Chromium – ChromeMinefield - FirefoxWebkit - Safari
Redemption (Nightly Builds)Internet Explorer 9 preview went blank
WebGL – Hardware Acceleration
Need For Speed
The NativesThought we’d try to make native apps to see the difference.Objective C (Cocoa)Open GL + GLUT
Objective C (Cocoa)
OpenGL – The God of Particles

More Related Content

PPTX
Report
KEY
Android tips and tricks
PPTX
Y U NO CRAFTSMAN
PPTX
Турський Віктор “Як (і чому) побудувати додаток VR з ReactVR?” GameDev Confe...
PPTX
Augmented Reality with JavaScript
PDF
Quick Review of Desktop and Native Apps using Javascript
PPT
Adobe Session on Flash Online Conference #12
PPT
Biologija, Sove
Report
Android tips and tricks
Y U NO CRAFTSMAN
Турський Віктор “Як (і чому) побудувати додаток VR з ReactVR?” GameDev Confe...
Augmented Reality with JavaScript
Quick Review of Desktop and Native Apps using Javascript
Adobe Session on Flash Online Conference #12
Biologija, Sove

Similar to Need For Speed (20)

PPTX
Mastering Multiplayer Stage3d and AIR game development for mobile devices
PDF
GPU Programming: CocoaConf Atlanta
PDF
Критика "библиотечного" подхода в разработке под Android. UA Mobile 2016.
PDF
The Next Leap in JavaScript Performance
PPTX
Building a Raspberry Pi Robot with Dot NET 7, Blazor and SignalR - TechDays 2023
PDF
Hacking the Kinect with GAFFTA Day 1
PDF
Minko - Flash Conference #5
PDF
Why use JavaScript in Hardware? GoTo Conf - Berlin
PDF
Web Leaps Forward
PDF
Java Tools and Techniques for Solving Tricky Problem
PPT
SF JUG - GWT Can Help You Create Amazing Apps - 2009-10-13
PDF
GPU Programming: Chicago CocoaConf 2015
PPTX
Full stack development in Go
PDF
WebGL games with Minko - Next Game Frontier 2014
PPTX
3D on the Web in 2011
PDF
不深不淺,帶你認識 LLVM (Found LLVM in your life)
PDF
JavaScript all the things! - FullStack 2017
PDF
XT Best Practices
PDF
Raspberry Pi 2 + Windows 10 IoT Core + Node.js
PPT
SWT - Technical Deep Dive
Mastering Multiplayer Stage3d and AIR game development for mobile devices
GPU Programming: CocoaConf Atlanta
Критика "библиотечного" подхода в разработке под Android. UA Mobile 2016.
The Next Leap in JavaScript Performance
Building a Raspberry Pi Robot with Dot NET 7, Blazor and SignalR - TechDays 2023
Hacking the Kinect with GAFFTA Day 1
Minko - Flash Conference #5
Why use JavaScript in Hardware? GoTo Conf - Berlin
Web Leaps Forward
Java Tools and Techniques for Solving Tricky Problem
SF JUG - GWT Can Help You Create Amazing Apps - 2009-10-13
GPU Programming: Chicago CocoaConf 2015
Full stack development in Go
WebGL games with Minko - Next Game Frontier 2014
3D on the Web in 2011
不深不淺,帶你認識 LLVM (Found LLVM in your life)
JavaScript all the things! - FullStack 2017
XT Best Practices
Raspberry Pi 2 + Windows 10 IoT Core + Node.js
SWT - Technical Deep Dive
Ad

Recently uploaded (20)

PPT
Module 1.ppt Iot fundamentals and Architecture
PDF
Getting Started with Data Integration: FME Form 101
PDF
sustainability-14-14877-v2.pddhzftheheeeee
PDF
A contest of sentiment analysis: k-nearest neighbor versus neural network
PDF
Taming the Chaos: How to Turn Unstructured Data into Decisions
PPT
Geologic Time for studying geology for geologist
PDF
Getting started with AI Agents and Multi-Agent Systems
PPTX
The various Industrial Revolutions .pptx
PPTX
Benefits of Physical activity for teenagers.pptx
PDF
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
PDF
A novel scalable deep ensemble learning framework for big data classification...
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PDF
Zenith AI: Advanced Artificial Intelligence
PDF
Enhancing emotion recognition model for a student engagement use case through...
PDF
DP Operators-handbook-extract for the Mautical Institute
DOCX
search engine optimization ppt fir known well about this
PDF
Five Habits of High-Impact Board Members
PDF
STKI Israel Market Study 2025 version august
PPTX
Tartificialntelligence_presentation.pptx
PDF
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf
Module 1.ppt Iot fundamentals and Architecture
Getting Started with Data Integration: FME Form 101
sustainability-14-14877-v2.pddhzftheheeeee
A contest of sentiment analysis: k-nearest neighbor versus neural network
Taming the Chaos: How to Turn Unstructured Data into Decisions
Geologic Time for studying geology for geologist
Getting started with AI Agents and Multi-Agent Systems
The various Industrial Revolutions .pptx
Benefits of Physical activity for teenagers.pptx
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
A novel scalable deep ensemble learning framework for big data classification...
Group 1 Presentation -Planning and Decision Making .pptx
Zenith AI: Advanced Artificial Intelligence
Enhancing emotion recognition model for a student engagement use case through...
DP Operators-handbook-extract for the Mautical Institute
search engine optimization ppt fir known well about this
Five Habits of High-Impact Board Members
STKI Israel Market Study 2025 version august
Tartificialntelligence_presentation.pptx
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf
Ad

Need For Speed

  • 1. Need For SpeedEvery car has a lot of speed in it. The trick is getting the speed out of it. – A J Foyt.
  • 3. SpeedIts AddictiveDISCLAIMER:We acknowledge that wikipedia makes it sound so cool but don’t try drugs.
  • 4. Speed is awesomeApps feel lightweight.Brings the web to awhole new experience.Faster Pixel Math e.g. Computer Vision.
  • 5. And it can be deadly tooPremature optimization is the root of all evil - Donald Knuth.Design first, optimize later.
  • 7. Code Tricks & Best Practices
  • 10. Thin RuntimesWhy its important to usThe only way of discovering the limits of the possible is to venture a little way past them into the impossible. - Arthur Clarke.
  • 12. Who can push most pixels ?JavaScript (HTML5)Java (Applet)ActionScript 2.0ActionScript 3.0Silverlight 3.0Alchemy v0.5a / + Pixel BenderHaxe 2.05 with memory APIObjective-C / + GCDWebGLOpenGLPixel
  • 13. The rules… No Cheating!!Create a massive amount of points in 3D Pixel Cloud.
  • 14. Draw the pixel cloud on the screen every frame.
  • 15. Reduce/increase particles until frame rate is close to 20 FPS.
  • 16. Language specific optimisations allowed.The CreatureMac Book Pro 15”2.66GHz Core 2 Duo4GB RamGeForce 9400m(256 MB)Mac OSX (10.6.3)
  • 18. Performance ComparisonsShow each demo. (The fun stuff)Briefly explain code.Measure number of particles when they become stable.Plot in Excel Chart.
  • 23. Alchemy v0.5a with Pixel Bender
  • 24. HAXE 2.05 with memory API
  • 25. HTML 5.0 + JavaScriptSafari CrashedInternet Explorer 8 Doesn’t support it yet
  • 28. To Infinity and BeyondNightly Builds of May 6 2010Chromium – ChromeMinefield - FirefoxWebkit - Safari
  • 29. Redemption (Nightly Builds)Internet Explorer 9 preview went blank
  • 30. WebGL – Hardware Acceleration
  • 32. The NativesThought we’d try to make native apps to see the difference.Objective C (Cocoa)Open GL + GLUT
  • 34. OpenGL – The God of Particles
  • 35. This wouldn’t be possible without//Googlehttp://www.google.com//Fractalshttp://local.wasp.uwa.edu.au/~pbourke/fractals/http://local.wasp.uwa.edu.au/~pbourke/fractals/fractalgallery/http://local.wasp.uwa.edu.au/~pbourke/fractals/peterdejong///AVM2 Bytecodehttp://www.adobe.com/devnet/actionscript/articles/avm2overview.pdf//alchemyhttp://labs.adobe.com/technologies/alchemy/http://labs.adobe.com/wiki/index.php/Alchemy:Documentation:Getting_Startedhttp://www.unitzeroone.com/blog/2009/03/18/flash-10-massive-amounts-of-3d-particles-with-alchemy-source-included/http://drawlogic.com/category/alchemy/http://www.automatastudios.com/2008/11/21/understanding-adobe-alchemy/http://www.unitzeroone.com/blog/2008/11/28/adobe-alchemy-is-it-actionscript-heresy///Experimental Mem API in AS3http://blog.joa-ebert.com/2009/04/03/massive-amounts-of-3d-particles-without-alchemy-and-pixelbender/http://blog.joa-ebert.com/2009/08/05/tdsi-examples/http://blog.joa-ebert.com/2009/12/03/the-scalable-apparat///Haxehttp://webr3.org/experiments/haxe-particle-pusher/300k/http://haxe.org/api/flash9/memoryhttp://haxe.org/doc/whyhttp://haxe.org/doc/start/flash/as3migrationhttp://ncannasse.fr/blog/adobe_alchemyhttp://ncannasse.fr/blog/the_failure_of_as3
  • 36. There were heaps more, but … No space//Javascripthttp://mrdoob.com/lab/javascript/strangeattractor/http://www.leichtgewicht.at/387/pushing-javascript-particles/http://www.andrew-hoyer.com/experiments/clothhttps://developer.mozilla.org/en/Drawing_Graphics_with_Canvas//Java Applethttp://java.sun.com/docs/books/tutorial/2d/images/drawimage.htmlhttp://blog.debit.nl/?p=79http://java.sun.com/applets/http://java.sun.com/docs/books/tutorial/2d/index.html//O3dhttp://code.google.com/apis/o3d///Web GLhttp://www.taranfx.com/chrome-webgl-graphics-hardware-accelerationhttp://noscope.com/journal/2010/04/webgl-in-google-chromehttps://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/doc/spec/WebGL-spec.htmlhttp://khronos.org/webgl/wiki/Getting_a_WebGL_Implementationhttp://github.com/gpjt/webgl-lessons/blob/master/lesson07///openGLhttp://cgi.cse.unsw.edu.au/~cs3421/wordpress/http://nehe.gamedev.net/http://www.dei.isep.ipp.pt/~matos/cg/docs/manual/http://glprogramming.com/red/chapter07.htmlhttp://www.opengl.org/resources/libraries/glut///Silverlighthttp://blog.efvincent.com/concurrency-optimization-silverlight/http://blog.joa-ebert.com/2009/08/10/flirting-with-silverlight/http://www.silverlight.net/getstarted///Skyrails - This is an example of an interface that could take advantage of GPUhttp://www.youtube.com/watch?v=I2d312_dXEs&feature=related <- One of my Uni tutors PHD project
  • 37. Questions“ When people stop asking good questions, bad things seem to happen ” – Robin Hilliard
  • 38. Feel the Speed“Speed, it seems to me, provides the one genuinely modern pleasure. ” – Aldous HuxleyTRAC - http://trac.rocketboots.com/os/browser/webdu2010_need_for_speed/trunkSVN - http://svn.rocketboots.com/os/webdu2010_need_for_speed/trunk
  • 39. Say ‘Hi’ to usManojVekaria@nojifiedwww.codeexplode.comnoj@rocketboots.comSushantVerma@sushifiedwww.trynull.comsushant@rocketboots.com