Binary Tree Generator


Binary tree generator. No, not the data structure, but an artistic representation of a binary tree (edit: I have learned that this kind of thing is called an L-system). The swf can be found here or embedded in the full post. Click the button on the bottom left to randomly generate a new tree. I’ve also uploaded the source FLA file here. I didn’t really bother to optimize the code, so there are probably a lot of improvements that could be made.

Note: The FLA file is saved in Macromedia Flash Professional 8 format, with Actionscript 2.0. It’s a pretty old version of Flash, so it should be openable by any of the Adobe versions of Flash as well.

Continue reading “Binary Tree Generator”

Advertisement

Technika-based Flash game

Spent the past few hours making this flash game based on DJ Max Technika. Specifically, the song “In My Heart“. It was originally just fanart, then I decided to make it interactive by having her look at your mouse cursor, then I wanted a thing that dynamically generated bubbles (I based it on the code found here), but then I thought it’d be cool if the bubbles were notes instead. Then I was all “Hey, let’s make them clickable!” and then after that “Might as well make it a game.”

Instructions can be found by clicking the button at the bottom. SWF can be found here, and embedded in the full post.

Edit: Updated to include a sound and an star-explosion effect upon a successful click, also the ability to press T to toggle outfits. The previous version can be found here.

Continue reading “Technika-based Flash game”