quil / quil-site

Source code of quil.info
http://quil.info
Eclipse Public License 1.0
7 stars 13 forks source link

add floating graph example #16

Closed johnnyhoffman closed 8 years ago

johnnyhoffman commented 8 years ago

Hi, I'm submitting a sketch I made to be on the examples page.

Desc: A quil sketch of a graph with slowly floating nodes, which change color according to breadth-first-search and depth-first-search.

I'm fairly new to Clojure, so I won't be surprised or offended if there are any suggestions to make my code more Clojure-esque.

Also, I noticed a couple things about the instructions here https://github.com/quil/quil/wiki/Adding-new-example-to-quil.info:

Best, -Johnny

nbeloglazov commented 8 years ago

Thanks, Johny! I'll try to optimize your code and will open pull request so you can take a look and say if you think the changes are reasonable.

johnnyhoffman commented 8 years ago

Awesome, thanks - I'd love to learn from the changes you make.