Using jit.gen as a processing-like tool ?

Oct 4, 2012 at 7:52am

Using jit.gen as a processing-like tool ?

I’d like to use jit.gen and jitter objects as a processing-like too.
This is more my current approach on my current project which drives me to this way.

I’d be interested in a global design pattern for that

my purpose: generative design in 2D (lines, points, curves) only.

let me know if this is a stupid question too :)

#64606
Oct 4, 2012 at 8:47am

you wanna check out jit.gl.sketch and .mesh

#233083
Oct 4, 2012 at 8:54am

I guess I should drive positions and other object parameters with jit.gen in order to be efficient.
I got it.

For instance, to create a lot of circles moving, I can also use jit.gl.multiple with a jit.gen processing a position matrix
I guess it makes sense in my head… I mean, I got it.

I’m sorry about those kind of questions.
I’m okay with these objects, but global new approaches sometimes give me problems

A whole jit.gen driven stuff could also be used too, no?
Maybe it wouldn’t be the best practice to follow.

#233084
Oct 4, 2012 at 11:09am

I tested and I'm okay with jit.gen + jit.gl.gridshape + jit.gl.multiple
Indeed, it seems very efficient.

I didn't have notice something with multiple.
Here, I'm using a gridshape circle named and “multiplied” by jit.gl.multiple
But the first original instance indeed isn't considered. I guess I could also process its coordinates etc but did I miss something else smarter here ?

I need to keep the whole stuff into my window in 2D now.
checking that…

[attachment=205165,4490]

Attachments:
  1. snapshot2012100413.01.53.PNG
#233085
Oct 4, 2012 at 11:28am

look at jitter tutorial 32 – camera view. The ortho attribute might be of help.

#233086
Oct 4, 2012 at 12:25pm

I tested with that but I especially scale the noise inside jit.gen to control my area of random.

how to make the initial instance of gridshape not visible or else, I still don’t know.
indeed, I have everytime that circle in the middle, of course.

#233087
Oct 4, 2012 at 12:25pm

last snapshot

[attachment=205171,4491]

Attachments:
  1. snapshot2012100414.19.56.PNG
#233088
Oct 4, 2012 at 1:15pm

try gridshape @automatic 0

#233089
Oct 4, 2012 at 1:16pm

“how to make the initial instance of gridshape not visible or else, I still don’t know.”

use @automatic 0

#233090
Oct 4, 2012 at 10:19pm

missed that attribute… it works fine, of course :)
thnks a lot

some pb to scale the whole stuff correctly to fill the screen.
I mean, I can play with camera position, lens (with ortho), but also with my objects positions.

I have a peak of hesitation with processing right now.
some line of code would make that in 5 min.
btw, I want to keep jitter here, I just need to make me a kind of template to be quickly able to draw on the screen without scaling problem.
I mean: I want to divide the screen into 4 parts, I don’t want to have to reshape all my objects, my view etc.

#233091
Oct 5, 2012 at 2:04pm

hesitating… with JAVA for my project.
indeed, this would be more code typing for my snippets.
and if I have hard pix processing or things like that I can even use.

indeed, this would be nice to generate bits with that and, further in the patch, eventually, make my pixel processing with jit.gl.pix.
because I (only) want to make 2D and it is a pain (for me) to have to deal with cam position + scale of the renderer, the multiple, the objects only to have a 2D matrix I want to fill with pixel with generated structure..

#233092
Oct 5, 2012 at 2:12pm

jitcellvecaccess convinced me, I had to add this :)

#233093

You must be logged in to reply to this topic.