jradek 2019-01-13T16:58:29.026200Z

@tsulej Thanks. I got everything to work. The atom stuff as well as

stuff to call API functions out of sketch functions

genmeblog 2019-01-13T17:03:22.026400Z


jradek 2019-01-13T17:04:51.027Z

I'm just skimming through your clojure2d/fastmath project.

jradek 2019-01-13T17:05:45.028Z

this looks cool as well. Is is compatible with quil/processing. I.e. having (at least) the same core functions?

genmeblog 2019-01-13T17:06:52.029200Z


genmeblog 2019-01-13T17:07:02.029800Z

I'm from processing world

genmeblog 2019-01-13T17:07:11.030200Z

so I tried to keep some things similar

jradek 2019-01-13T17:07:21.030600Z

The reason I'm asking is, because I have kind of a background of processing and p5js. So my primary goal with quil is to learn the clojure language and not figuring out how same API works in depth

genmeblog 2019-01-13T17:07:50.031100Z

I can always help, check examples to see if it's clear or not for you

genmeblog 2019-01-13T17:09:04.032700Z

I've transfered plenty of processing code (like generative design, nature of code and some other stuff)

genmeblog 2019-01-13T17:09:12.033100Z

it was pretty straightforward

jradek 2019-01-13T17:09:49.033900Z

I definitely will. Especially the extra namespace sounds interesting. Processing is more basic lacking these cool effects 😁

jradek 2019-01-13T17:10:57.035Z

nature of code ... This brought me to p5js/processing in the first place. Ans of course the coding train video series on youtube

genmeblog 2019-01-13T17:11:07.035200Z


genmeblog 2019-01-13T17:11:22.035500Z

do you know funprogramming?

jradek 2019-01-13T17:11:35.035700Z


genmeblog 2019-01-13T17:11:43.035900Z


genmeblog 2019-01-13T17:12:01.036400Z

I transfered also most of them

genmeblog 2019-01-13T17:12:48.037100Z

they can be run in the same time just buy executing who script (100+ windows appear)

jradek 2019-01-13T17:16:48.038300Z

cool. So if you ported all of these along with all the example in your documentation, there should be plenty of resources (I wondering how long it took to write/create all the stuff ... for free).

genmeblog 2019-01-13T17:17:34.038700Z

2-3 years 🙂

genmeblog 2019-01-13T17:17:50.039300Z

It was my first project in Clojure

jradek 2019-01-13T17:18:07.039700Z


genmeblog 2019-01-13T17:18:52.040500Z

I've learnt a lot

jradek 2019-01-13T17:19:20.041300Z

On your github repo, you have this "what is odd" section taking about not convenient/optimal way of creating stuff. What do you mean?

gncgnc 2019-01-13T17:19:58.042Z

Does clojure2d have some 3d opengl shader type stuff? I'm guessing not because of the name :)

genmeblog 2019-01-13T17:20:54.042900Z


gncgnc 2019-01-13T17:21:04.043300Z

I'm trying to transition to clojure from processing/p5.js as well, it's been very interesting

genmeblog 2019-01-13T17:21:05.043500Z

it's just java2d wrapper

genmeblog 2019-01-13T17:21:30.043900Z

it's like processing default renderer (JAVA2D)

gncgnc 2019-01-13T17:21:58.044200Z

Ohh I see

gncgnc 2019-01-13T17:23:23.045700Z

Is it a pain to manage native java arrays in clojure for fast pixel operations and such?

genmeblog 2019-01-13T17:24:06.046400Z

no, hovewer eventually I made some backend classes in java

genmeblog 2019-01-13T17:24:14.046800Z

so clojure2d is also only java

genmeblog 2019-01-13T17:24:25.047200Z

(quil works with js as well)

genmeblog 2019-01-13T17:25:09.047700Z

java arrays have nice support in clojure

genmeblog 2019-01-13T17:25:26.048100Z

also can be enhanced by protocols as every other class