PDA

View Full Version : mapBF



wraggster
September 5th, 2009, 15:06
pedrocrespo has released an entry into the Scenery Beta 2009 (http://www.scenebeta.com/noticia/bases-scenery-beta-2009-international-homebrew-showcase)


Here we first for the Scenery Beta 2009, in his section out of competition, a preview of mapbf libraries, which libraries can test how are you working with geometric figures and we have the opportunity to interact with our Wiimote.

Author: pedrocrespo

In this first presentation of the libraries mapbf (Maths Are Programmer's Best Friend) will have opportunity to see how they work two applications:

First "SHAPERECO" recognizes figures for the number of faces that draw on the air with our Wiimote.

Secondly, there is "CHAOS" Paint a Sierpinski triangle (Triforce fractal) in a game of chaos, that is, place the pencil at one point and assign to each face of a dice three faces "a vertex of a triangle. Everytime the face corresponding to a vertex, the pen will paint a point midway between the previous pixel and vertex point (say 50% will advance to the vertex). In this case we ask iterations and 15,000 points. To activate this easter egg is press '+', and exit 'B'.

Download and Give Feedback Via Comments