Circles 1K

by
, posted

In short: I made a trippy circle-drawing thing and it fits in under 1 kilobyte.

I was bored and wanted to spend only a few hours working on a jellybean-sized project, and then I figured I’d try to make jellybean-sized code. So I grabbed the page from the JS1k contest and got started.

Three hours and about 1000 bytes later, I made some pretty circles. Go give it a try!

I used a lot of tricks to cram all of this stuff in under 1024 bytes:

There a bunch of other tricks, and you can see them in the unminified source. Enjoy!