OZONE Asylum
Forums
DHTML/Javascript
Mandelbrot tracer in 137 bytes
This page's ID:
30330
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
In my never ending quest for size optimization in DHTML, I wanted to see how many bytes were needed to render the initial [url=http://en.wikipedia.org/wiki/Mandelbrot_set]Mandelbrot set[/url]. A while ago I made one zooming and rotating in 256 bytes and hoped I could get close to or even reach 128 bytes but I failed "short" and got stuck at 137 bytes. :( So here comes a [url=http://www.p01.org/releases/Demoscene/files/mandelbrot_137b.htm][b]Mandelbrot tracer in 137 bytes of DHTML[/b][/url]. [small]( not IE friendly )[/small] For the record IE chokes because it still does not support the [i]String[ index ][/i] syntax. Also I managed to go to 134 bytes in Opera thanks to its support for the DOM2 Text interface. But I wanted this to work in more browsers. Hope you can appreciate the size optimization anyway. And please let me know if you manage to squeeze a few more bytes. Note that using a TT instead of a PRE, the text wraps every second line of the Mandelbrot set if the window is larger than 1000 pixels. So it's not really a solution. [url=http://www.p01.org/][img]http://poi.ribbon.free.fr/files/p01_ozoneasylum_sig_teapot.png[/img][/url] [small](Edited by [url=http://www.ozoneasylum.com/user/2185]poi[/url] on 06-15-2008 19:29)[/small]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »