eniallator

snowflake for L-System algorithm

Dec 22nd, 2017
273
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.17 KB | None | 0 0
  1. start_string "X"
  2.  
  3. rule "X" -> "[FX]+[FX]+[FX]+[FX]+[FX]+[FX]"
  4. rule "F" -> "FFF"
  5.  
  6. function "F" forward(4)
  7. function "+" rotate(60)
  8. function "[" save()
  9. function "]" load()
Advertisement
Add Comment
Please, Sign In to add comment