/* this is a c-style comment */ // this is another comment // if you want to have two "/" back to back, // just seperate them with a space /* * This is the coordinate system: * * y * | * | z * | / * |/ * *------x * * turtle starts heading up (y axis) * + turn left (z) * - turn right (z) * ^ pitch up (x) * & pitch down (x) * / rotate right (y) * \ rotate left (y) * * this is a bit illogical, but it makes 2d and 3d compatible (using + and -) * * full rules have the form * module_name"("parameters...")" ":" constraint_expression "=>" expansion"," iterations ";" * * where "(parameters...)", ": constraint_expression", "expansion" and ", iterations" * are optional parts, i.e. * * A => ; * is a valid rule, which unconditionally removes all occurences of A. */ seed(n) => figure(n), 1; //seed(n) => attr(distance,3) hexagonal_gosper(n), 1; //seed(n) => simple_tree(n), 1; //seed(n) => roseleaf(n),1; //seed(n) => attr(distance,5) polygon, 1;