10k Javascript update …Optimise everything
by Kevin • August 28, 2011 • Articles, HTML5, Journal, Programming, Projects • 0 Comments
The Bank holiday is a lovely time to get things done, and currently I have been working on my entry to the 10k Javascript Challenge. I started writing about my idea and entry in my previous blog post.
To put simply my entry is a landscape ray tracing example which is done in near real time.
It works by casting ‘light rays’ of increasing precision over the virtual landscape, textures are produced using Perlin Noise. So far my code after a little bit of hand optimisation takes around 4.8k of space, so I still have 5.2k of goodness still to use!
If you want to try it out (Can’t aways guarantee it working or performance) then point your browser over at MrPfister.com/JS10k.html