craft-prism

Parameterized Prism Model


Keywords
craftml
License
MIT
Install
npm install craft-prism@1.0.0

Documentation

craft-prism

Parameterized prism model.

Install

$ npm install craft-prism

Parameters

  • size: scales model
  • width: adjusts width of prism
  • length: adjusts length of prism
  • sides: adjusts number of sides of prism

Example

<craft>
    <craft name="prism" module="craft-prism"/>
    <row>
        <prism sides="10" length="20"></prism>
        <prism sides="3" width="30" length="30"></prism> 
        <prism sides="50" length="40"></prism>
        <prism></prism>
    </row>
</craft>

example