Skip to content

Instantly share code, notes, and snippets.

In-class Learning Challenge

Name

fill-in-your-name

##Email fill-in-your-email-address

Checkpoint 1

@doubleshow
doubleshow / index.xml
Last active October 30, 2015 17:54
Zigzag Layout
<craft name="zigzag-layout">
<info>
<title> Zigzag Layout </title>
</info>
<param name="offset" default="5" type="int"/>
<param name="axis" default="x" type="text"/>
<content>
@doubleshow
doubleshow / index.xml
Last active October 14, 2015 11:38
craftml
<craft>
<info>
<title>Untitled</title>
</info>
<param name="h" type="int" default="20"
label="height of the cylinder"/>
<param name="n" type="int" default="3"
label="number of spheres"/>
@doubleshow
doubleshow / index.xml
Last active October 13, 2015 12:22
craftml
<craft>
<info>
<title>Untitled</title>
</info>
<param name="h" type="int" default="20"
label="height of the cylinder"/>
<param name="n" type="int" default="3"
label="number of spheres"/>
@doubleshow
doubleshow / index.xml
Last active October 9, 2015 23:19
craftml
<craft>
<info>
<title>New Language Features</title>
</info>
<params a="3" b="4" c="5" h="10"/>
<!-- equivalent to -->
<!--<param name="a" default="3" type="int"/>-->
<!--<param name="b" default="4" type="int"/>-->
@doubleshow
doubleshow / index.xml
Created October 9, 2015 20:07
craftml
<craft>
<info>
<title>Untitled</title>
</info>
<stack>
<div>Ray</div>
<cube></cube>
</stack>
@doubleshow
doubleshow / index.xml
Last active October 7, 2015 23:12
craftml
<craft>
<info>
<title>Untitled</title>
</info>
<script>
$params.hs = [10,11,8,1,10,12,3]
</script>
<row>
@doubleshow
doubleshow / index.xml
Created October 7, 2015 22:50
craftml
<craft>
<info>
<title>Untitled</title>
</info>
<param name="h" type="int" default="20"
label="height of the cylinder"/>
<param name="n" type="int" default="3"
label="number of spheres"/>
@doubleshow
doubleshow / index.xml
Created October 7, 2015 19:36
craftml
<craft>
<info>
<title>Untitled</title>
</info>
<param name="h" type="int" default="20"
label="height of the cylinder"/>
<param name="n" type="int" default="3"
label="number of spheres"/>
@doubleshow
doubleshow / index.xml
Last active October 6, 2015 13:16
craftml
<craft>
<info>
<title>c-repeat n tests</title>
</info>
<stack spacing="2">
<col spacing="2" c-repeat="3">
<row spacing="2" c-repeat="3">
<cube c-repeat="5"></cube>