Fork me on GitHub
#quil
<
2019-01-13
>
jradek16:01:29

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

current-applet
stuff to call API functions out of sketch functions

jradek17:01:51

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

jradek17:01:45

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

genmeblog17:01:02

I'm from processing world

genmeblog17:01:11

so I tried to keep some things similar

jradek17:01:21

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

genmeblog17:01:50

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

genmeblog17:01:04

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

genmeblog17:01:12

it was pretty straightforward

💯 5
jradek17:01:49

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

jradek17:01:57

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

genmeblog17:01:22

do you know funprogramming?

genmeblog17:01:01

I transfered also most of them

genmeblog17:01:48

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

jradek17:01:48

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).

genmeblog17:01:34

2-3 years 🙂

genmeblog17:01:50

It was my first project in Clojure

genmeblog17:01:52

I've learnt a lot

jradek17:01:20

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

gncgnc17:01:58

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

gncgnc17:01:04

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

genmeblog17:01:05

it's just java2d wrapper

genmeblog17:01:30

it's like processing default renderer (JAVA2D)

gncgnc17:01:23

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

genmeblog17:01:06

no, hovewer eventually I made some backend classes in java

genmeblog17:01:14

so clojure2d is also only java

genmeblog17:01:25

(quil works with js as well)

genmeblog17:01:09

java arrays have nice support in clojure

genmeblog17:01:26

also can be enhanced by protocols as every other class