| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
This is repo contains demo sketches for Processing, implemented in different languages. The primary intent is to show how different programming languages lend themselves to different approaches to solving similar problems. Secondarily, it is intended to demonstrate how to program in Clojure, via comparisons to other languages.
Here's how to get yourself setup to draw. Get Quil working for the Clojure side, and Ruby-Processing for the Ruby side. The instructions below are "editor agnostic." I use Sublime and Emacs, but you can use whatever you like. These setup instructions leave you free to use the editor of your choice.
If all else fails, just read the docs appropriate for your installation. I'm just summarizing the official materials.
Be sure to install the latest Oracle JVM (1.8 at the time of this writing).
For Clojure / Quil, I follow the following (if possible), before showing up:
For Clojure / Quil, I recommend attempting to understand this approach if you're interested in Functional Programming:
The instructions for installing Ruby-Processing can get a little complicated. But, only because the process differs based on what system you have (Mac, Windows, Linux, Vax, etc.).
For the confident, check out the official install directions: https://github.com/jashkenas/ruby-processing#installation
You can try to install it with these instructions (or, see below): https://github.com/jashkenas/ruby-processing/wiki/Installing-ruby-processing-on-the-mac
You should see something like:

Since there's a bike-share effort on the move in Honolulu. Let's get warmed up for bike data by borrowing some from San Francisco. They recently had an event to promote working with their data. You can download it and get a head start. We'll play around with this a bit during the workshop as time allows.
If Ruby's not your thing, Kevin just sent over this quite thorough comparison of Python and Clojure.
Also, here's Processing in other languages:
Each install section has some sample demos you can try out. Feel free to explore on your own.
The Processing API is wrapped by both Clojure (in Quil) and Ruby (in Ruby-Processing). This is where you'll find the functions you'll use to complete your drawings.
Quil's API is here: http://quil.info/api
For Ruby-Processing the Processing API is available, but with Ruby syntax (which is a good thing): https://processing.org/reference/
For more on using the API from Ruby, read this: https://github.com/jashkenas/ruby-processing/wiki/Using-the-Processing-API
| Back | FazBrowse Home | New Git URL |