Triangle
Copy/Paste the following code to your GroIMP project:
//**********************************************************
/*
You will learn with this example:
– how to create a simple model of a triangle as a static structure
– how to insert comments into the code
*/
protected void init()
[
// The start word is transformed into a triangle
Axiom ==> RU(30) F(10) RU(120) F(10) RU(120) F(10);
]
//**********************************************************
DATE: 2009
AUTHOR: W. Kurth
DESCRIPTION: see model