source: http://groups.google.com/group/clojure/web/2dplot.clj screenshot: http://groups.google.com/group/clojure/web/2dplot.png
;; Ever wanted to visualise some simple shapes but don't have matlab handy? ;; Here is one way to do it! ;; Comes with some default shapes to demonstrate, ;; but I recommend you run it interactively ;; user=> (load-file "2dplot.clj") ;; (clean) to remove any existing shapes ;; (add-poly "label" x1,y1 x2,y2 ...) to add new shapes ;; (init-view) sets the view to see everything ;; ;; Keyboard controls are the default java controls: ;; forward arrow - move forward ;; left arrow - turn left ;; page down - look up ;; etc... ;; These allow you to move around the plot. Regards, Tim. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---