Popular recipes tagged "applet" but not "fractal"http://code.activestate.com/recipes/tags/applet-fractal/2011-02-17T21:53:36-08:00ActiveState Code RecipesLangton's Ant Automaton (Java)
2011-02-17T21:53:36-08:00FB36http://code.activestate.com/recipes/users/4172570/http://code.activestate.com/recipes/577576-langtons-ant-automaton/
<p style="color: grey">
Java
recipe 577576
by <a href="/recipes/users/4172570/">FB36</a>
(<a href="/recipes/tags/applet/">applet</a>, <a href="/recipes/tags/graphics/">graphics</a>, <a href="/recipes/tags/math/">math</a>).
</p>
<p>(Generalized) Langton's Ant Automaton.</p>
<p>Langton's ant is a 2D Turing machine.
In this version, at each new x,y location the ant reads the byte value and replaces it w/ another, and chooses a new direction (one of 8 possible directions) to move.</p>
<p>Byte replacement and direction values are read from random arrays.</p>
CPU Usage Graph Applet (Java)
2010-03-26T01:12:44-07:00FB36http://code.activestate.com/recipes/users/4172570/http://code.activestate.com/recipes/577145-cpu-usage-graph-applet/
<p style="color: grey">
Java
recipe 577145
by <a href="/recipes/users/4172570/">FB36</a>
(<a href="/recipes/tags/applet/">applet</a>, <a href="/recipes/tags/cpu_usage/">cpu_usage</a>, <a href="/recipes/tags/graphics/">graphics</a>).
</p>
<p>It calculates CPU speed w/o using any system calls etc.
Instead it simply uses a timed counter.</p>
Curve fitting to N random points (Java)
2010-03-26T17:21:53-07:00FB36http://code.activestate.com/recipes/users/4172570/http://code.activestate.com/recipes/577150-curve-fitting-to-n-random-points/
<p style="color: grey">
Java
recipe 577150
by <a href="/recipes/users/4172570/">FB36</a>
(<a href="/recipes/tags/applet/">applet</a>, <a href="/recipes/tags/graphics/">graphics</a>, <a href="/recipes/tags/math/">math</a>).
</p>
<p>It creates a curve that passes through N random points using
inverse distance weighted averages.</p>
Gravity Simulation Applet (Java)
2010-03-26T17:50:43-07:00FB36http://code.activestate.com/recipes/users/4172570/http://code.activestate.com/recipes/577151-gravity-simulation-applet/
<p style="color: grey">
Java
recipe 577151
by <a href="/recipes/users/4172570/">FB36</a>
(<a href="/recipes/tags/applet/">applet</a>, <a href="/recipes/tags/graphics/">graphics</a>, <a href="/recipes/tags/math/">math</a>, <a href="/recipes/tags/physics/">physics</a>).
</p>
<p>It displays the trajectories of N mass particles moving under the force of gravity in 2D space.
The repeating patterns mean particles started orbiting each other.</p>