Adam Colton

What I've learned so far

  • About
  • Code
  • Cooking

javascript

Asm.js Mandelbrot

November 3, 2015 by adam Leave a Comment

mandI’m not sure how many times I’ve written a Mandelbrot explorer. But this is the best one yet! Drag to zoom in, the “Top” button in the upper left will zoom all the way out, and “Toggle” in the lower right will toggle the shading algorithm. You can also use browser navigation to go back.

The interesting thing about this project is that it was hand-coded in Asm.js. It was a good learning project to understand how Asm.js works, and using a validator was a big help. I plan on looking into Emscripten, but my first attempt to install it on an AWS Tiny instance failed due to low memory.

Code on Github

Interactive Demo

Posted in: Code Tagged: javascript

We're Adopting!
GitHub
State Transition

Recent Posts

  • Mancala
  • You SHOULD learn to code
  • CLI Debugging
  • Cake Decoration
  • Pizza Sauce

Categories

  • Code
  • Cooking

Copyright © 2025 Adam Colton.

Alpha WordPress Theme by themehall.com