Click inside the OctoGon to increase line spacing (outside to decrease).
I like the effect.

No bouncing ball here.  I believe I will need to incorporate Vectors to achieve that goal.  This page is the first step on the way towards Vectors... or so, I hope.

In the meantime, we have a pretty cool effect... or so, I believe. Click on the OctoGon to achieve a fractal pattern, caused by the interaction of tightly grouped almost parallel lines and the limitations of a computer screen. Clicking outside the OctoGon (an onMouseDown(event) that requires the mouse click to happen on the canvas -- i.e. in the corners Outside the OctoGon) reverses the changes.

Previous      Brett Code Index    Next in Series



OctoWars Project
Copyright © 2013 Brett Paufler