Live data from Hacker News

Painting in Clojure

tombooth.co.uk

1–10 of 15 posts

Re: Painting in Clojure

#4
post #3

I like the fact that it uses Processing to do this. The right tool for art.

Most likely by way of Quil (https://github.com/quil/quil). Using quil in your ide of choice is a dream and a remarkable improvement over the native processing env in terms of interactivity with the sketch.

Re: Painting in Clojure

#5
post #3

I like the fact that it uses Processing to do this. The right tool for art.

Most likely by way of Quil ( https://github.com/quil/quil ). Using quil in your ide of choice is a dream and a remarkable improvement over the native processing env in terms of interactivity with the sketch.

I think this will be a hoot to play with my cousin starting out. Clojure is a bit more elegant than processing's language, but with the awesome ease of drawing of the processing frame work.

And the documentation's purple prose is just fantastic!

Re: Painting in Clojure

#6
post #3

I like the fact that it uses Processing to do this. The right tool for art.

If you like processing, checkout p5.js[0] (released on HN yesterday) which is a pure javascript port with some other differences[1].

The main goal of Processing.js is to execute Processing files in HTML5, but not necessarily to write native HTML5. It supports a mixed syntax of Processing and JavaScript, where the JavaScript is not really meant to be consumed by the end-user. Processing.js is a port of Processing to JS, using regex to convert Java into JS. It is a good tool for those that want to run simple sketches on the web, however, it is quite opaque. It can be difficult for someone to understand how it works, how to fix things when it doesn't work, or how to modify or extend the library. As Processing.js says on their website, "it's not magic, but almost."

[0] - http://p5js.org/

[1] - https://github.com/lmccart/p5.js#how-is-this-different-than-...

Re: Painting in Clojure

#10
post #3

I like the fact that it uses Processing to do this. The right tool for art.

Most likely by way of Quil ( https://github.com/quil/quil ). Using quil in your ide of choice is a dream and a remarkable improvement over the native processing env in terms of interactivity with the sketch.

It does indeed use Quil and was really happy to see there recent (May of this year) addition of ClojureScript support. It is a great library and made building up this tutorial great fun using the repl.
Post reply on HN