| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
Registered User
Join Date: Aug 2006
Posts: 482
|
The challenge: create an image of the Mandelbrot Set by actionscript with only 400 bytes
Rules: 1. no "script is running slow" message, meaning that it must be either fast enough, or it must be a gradual animation like the one shown here 2. Must be good quality - 100 iterations 3. Must be colored by a gradient, not just 2 colors Mine... 442 bytes (this is the best I can do, download it to view) http://jsonchiu.prophp.org/flash/Mandelbrot2.swf The code: ActionScript Code:
Note: I strongly type every variable and declare return types because they won't effect the file size anyways. Also, comments don't add to file size either. |
|
|
|
|
|
#2 |
|
Registered User
Join Date: Aug 2006
Posts: 482
|
394 bytes...
ActionScript Code:
Anyway to optimize that even more? |
|
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| XML socket and termination byte | guillermo Flash | ActionScript 2.0 | 3 | 09-06-2006 09:31 AM |
| actionscript byte limit | metric152 | ActionScript 2.0 | 0 | 07-07-2005 08:47 PM |
| Sending 1 byte data over 127?! | anarkizt | ActionScript 2.0 | 2 | 12-27-2004 08:27 AM |
| That dreaded null byte again | apesaga | Server-Side Scripting | 0 | 12-16-2004 12:14 PM |
| 0 byte terminator? what the? | Dark_Element | ActionScript 2.0 | 5 | 11-02-2004 04:12 AM |