1.0.2 • Published 9 years ago

craft-star v1.0.2

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

craft-star

Parameterized star

Install:

$ npm install craft-star

Parameters:

sides: To adjust the number of edges of the star

radius: To adjust radius of star

height: To adjust height of star

Example:

<craft>
    <craft name="star" module="craft-star"/>
    <lineup axis="x" spacing=0.5>
     <star></star>
     <star radius="7" sides="5" height="1"></star>
     <star radius="7" sides="7" height="2"></star>
     <star radius="9" sides="9"></star>
    </lineup>
</craft>

example

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago