Skip to content

Instantly share code, notes, and snippets.

@calebhsu
Last active August 30, 2015 15:19
Show Gist options
  • Save calebhsu/bc1d9b13b2d4fb8f27cd to your computer and use it in GitHub Desktop.
Save calebhsu/bc1d9b13b2d4fb8f27cd to your computer and use it in GitHub Desktop.
Heart using CraftML tags
<craft name="heart">
<param name="height" type="int" default="5"/>
<g l="centerX() lineupY(-9.7)">
<row spacing="-2">
<repeat n="2">
<cylinder radius="6" height="{{height}}" t="scale(1,1.2,1)"/></cylinder>
</repeat>
</row>
<cylinder radius="7" height="{{height}}" resolution="4" t="scale(1.2,1.2,1)"></cylinder>
</g>
</craft>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment