Web Demos

You can look at these projects inside your browser.



L-System Plant Fractal

A demonstration of L-system fractals, with 7 different types. You can adjust the iteration number (how big they get; click go to regenerate after changing it), move around (arrow keys), and scale the fractals.

Warning: your computer may be unable to handle too high an iteration number on some fractals.






Flocker 1

See a flock wheel and turn. Adjust their behavior by playing around with a few simple variables. Watch complex behavior emerge from simple rules.









Alien Project 1

A project I made for school, in which you listen to a recording from aliens. The assignment was to create a false alien encounter of some sort. After you listen to theirs, you can then send messages. (You need sound on for this one.)







A quick game I made when I was bored. Warning: programmer humor. Non-programmers are unlikely to find it funny, easy, or at all entertaining.


Economics Games

This project models 2 types of economics games: the St. Petersburg Paradox and a game that isĀ referredĀ to as flip.

Economics Games– In the St. Petersburg paradox, a coin is flipped. If it is heads, your reward doubles (it starts from $1) and you flip again. If it’s tails, you collect your money.
– Test number is how many trials it runs; you see the average reward just to the left of that. Click St Petersburg Paradox to run.

– In Flip, you are given a deck of cards. You (well, the computer) can either quit or draw another card. For each red card, you earn a dollar; for each black card you lose a dollar.
– Clicking Flip runs the trials; as with the St Petersburg paradox you can set the number of trials, then see the average result. This value is the maximum possible amount to get; if you could see the cards, you couldn’t get higher than this.
– There’s also a checkbox labeled AI. This turns on the AI. You can get the same returns in real life without looking at the cards. The three sliders adjust the rules the AI uses to play. The first slider shows what probability of the next card being red it will play to; the second sliders sets the minimum amount the computer will play to before stopping.