code-dot-org/code-dot-org — pull request #636 by mrjoshida (2014-12-03 16:54:26+00:00)
Title: Functional radial star

Added a radial star function and modified the existing star to match. I also applied an initial rotation to stars with an odd number of points so that they are oriented properly, which revealed a bug where multiple rotations were ignored, with only the top level rotation being applied. Fixed by modifying rotate so that it adds to existing rotation_ value instead of overwriting it.