Forums > Jitter

Using jit.gen as a processing-like tool ?

October 4, 2012 | 7:52 am

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



dtr
October 4, 2012 | 8:47 am

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


October 4, 2012 | 8:54 am

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.


October 4, 2012 | 11:09 am

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

October 4, 2012 | 11:28 am

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


October 4, 2012 | 12:25 pm

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.


October 4, 2012 | 12:25 pm

last snapshot

[attachment=205171,4491]

Attachments:
  1. snapshot2012100414.19.56.PNG


ak
October 4, 2012 | 1:15 pm

try gridshape @automatic 0


October 4, 2012 | 1:16 pm

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

use @automatic 0


October 4, 2012 | 10:19 pm

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.


October 5, 2012 | 2:04 pm

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


October 5, 2012 | 2:12 pm

jitcellvecaccess convinced me, I had to add this :)


Viewing 12 posts - 1 through 12 (of 12 total)