tridemo.l 277 B

123456789101112
  1. (
  2. (def frame 0)
  3. (def tridemo (fn (do
  4. (def tx1 (+ 500 (/ (sin (* frame 100)) 100)))
  5. (def ty1 (+ 300 (/ (cos (* frame 100)) 100)))
  6. (def tx2 (+ 800 (/ (cos (* frame 200)) 100)))
  7. (def ty2 (+ 600 (/ (sin (* frame 200)) 100)))
  8. (def frame (+ frame 1))
  9. (flip)
  10. (gc)
  11. )))
  12. )