randomize-layout

1.0.1 • Public • Published

randomize-layout

Randomize layout for CraftML

Usage

<craft>
    <craft name="randomize-layout" module="randomize-layout"/>
    <randomize-layout></randomize-layout>
</craft>

Parameters

  • xspace: maximum x-coordinate at which an item can be placed
  • yspace: maximum y-coordinate at which an item can be placed

Example

<craft>
    <craft name="randomize-layout" module="randomize-layout"/>
    
    <randomize-layout>
        <repeat n="10">
            <cube></cube>
        </repeat>
    </randomize-layout> 

</craft>

example

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i randomize-layout

      Weekly Downloads

      0

      Version

      1.0.1

      License

      MIT

      Last publish

      Collaborators

      • calebhsu