diff --git a/examples/animate.lisp b/examples/on-animate.lisp similarity index 86% rename from examples/animate.lisp rename to examples/on-animate.lisp index 894eccb..0da2d6a 100644 --- a/examples/animate.lisp +++ b/examples/on-animate.lisp @@ -1,3 +1,5 @@ +; this demo shows how to use the animate event to animate lines into a sine wave. +; (def seg-count 50) ; (def frame-middle @@ -42,7 +44,7 @@ (50 0 (of (frame) :w) 0) - ("rgba(255,255,255,0)" "white" "#72dec2" "red"))))) + ("#ffb545" "#72dec2"))))) ; (defn redraw () diff --git a/examples/events.lisp b/examples/on-mouse.lisp similarity index 87% rename from examples/events.lisp rename to examples/on-mouse.lisp index e154299..8e8293f 100644 --- a/examples/events.lisp +++ b/examples/on-mouse.lisp @@ -1,3 +1,5 @@ +; this demo shows how to use the mouse events to draw make a simple drawing tool. +; (clear) ; (def prev-pos {:x 0 :y 0}) diff --git a/examples/osc.lisp b/examples/on-osc.lisp similarity index 100% rename from examples/osc.lisp rename to examples/on-osc.lisp