This site requires JavaScript, please enable it in your browser!
Greenfoot back

Report as inappropriate.

danpost
danpost presents ...

2013/10/6

Viral Spiral Polygons

Using the same architecture as Viral Spiral, this produces multi-colored polygons instead of simple lines.

Click inside or outside (left and right sides) of bars to adjust their values.
- inside to left decrements value
- inside to right increments value
- outside to left minimizes value
- outside to right maximizes value
Holding down bar clicks will cause continuous changing.
- inside to left continuously decrements value
- inside to right continuously increments value
- outside to left continuously increments value after minimizing
-outside to right continuously decrements value after maximizing

The top bar controls the number of arms to use in the drawing of the design.
The second bar indicates the bar whose settings and color part values can be changed.
The 'Settings' and 'Color Value' bars are for the values for the specific bar indicated by the 'ARM NUMBER' bar.
The 'Value' bar indicates the value of the color part indicated in the 'Part' bar.

To help adjusting values in a timely fashion, you can zero the alpha part of the color of arms and limit the number of arms to that of the one you are working on (by making a bar transparent, it skips trying to draw polygons for that bar; and removing higher numbered bars reduce the amount of cycles required to complete the next image). Work from lowest bar to highest bar, zero the alpha part of the color after set-up for that bar is complete. Increment the number of bars and work on the next one, doing the same with it. Leave the alpha part of the color for the highest numbered bar along (or set it to desired setting). Systematically decrease the number of bars and set the alpha part of the color of each one to the desired setting. After doing this for all the bars (ending at the first bar), just add all the bars back in. Hope this is understandable.

Have fun!

3931 views / 19 in the last 7 days

5 votes | 0 in the last 7 days

Tags: demo danpost spirograph

This scenario is a member of: Fractals & Patterns by danpost


Your browser is ignoring the <APPLET> tag.
joeschmoejoeschmoe

2013/10/6

my favorite one: http://i.imgur.com/o2uXnaF.png
A new version of this scenario was uploaded on Tue Oct 08 19:23:03 UTC 2013 You now can control the parameters (number of arms/arm lengths/arm color).
A new version of this scenario was uploaded on Tue Oct 08 19:27:42 UTC 2013 You can now control the number of arms and their length, color, and speed.
A new version of this scenario was uploaded on 2017-12-14 15:52:05 UTC

Want to leave a comment? You must first log in.

Who likes this?

data17 nightwingx13 MatheMagician joeschmoe FlyingRabidUnicornPig