google / clojure-turtle

A Clojure library that implements the Logo programming language in a Clojure context
Apache License 2.0
425 stars 41 forks source link

add animation examples #8

Open echeran opened 8 years ago

echeran commented 8 years ago

Come up with examples where you can create animations.

Once there is a wait fn, an animation in Logo can created by drawing a picture, calling wait, calling clean, and doing it over again with another picture.

An animation using Logo functions will need to handle looping, termination, and loop state that each loop's picture can use. The easiest way is probably (dotimes [i MAX-FRAMES] ...)

atrus159 commented 8 years ago

where should the examples go once they exist?

echeran commented 8 years ago

Okay, I had to teach myself about creating Github wikis to figure out the basics (ex: enabling the wiki).

The wiki lives at: https://github.com/google/clojure-turtle/wiki The wiki pages are contained in a git repo that you can clone. The repo link is in a sidebar. (ex: if using git over HTTP: https://github.com/google/clojure-turtle.wiki.git)

I created a home page, and one of the links on the home page is to a page with the relative URL animation entitled "Animation".