Possible to dynamically make gridshapes?


    Jan 23 2013 | 11:23 am
    Hello, I'm wondering if it's possible to make gridshapes with input from the mouse. I've included a patch with a script, which is a modification of jitter tutorial 47.
    There are some clues on these threads: https://cycling74.com/forums/rendering-multiple-gridshapes-w-opengl-in-js https://cycling74.com/forums/multiple-object-instances-with-javascript but I guess I can't wrap my head around the syntax (I've never used prototyping before).
    It might not even be possible, when I save I get the error message "js jitter listener: can't make event object"
    Any help or advice would be appreciated!

    • Jan 23 2013 | 2:55 pm
      Just wanted to add, on my system, tutorial 47 acts strangely. When the mouse is idle, the sphere/torus moves back to the centre position. I'm pretty sure it's not supposed to do this. Anyone confirm if this is a bug? (else, a quirk of my system) ...
    • Jan 23 2013 | 4:16 pm
      I'm also interested in making a similar patch, and I've been having the same problem with the tutorial 47 patcher.
    • Jan 26 2013 | 3:59 am
      Anybody else have the same problem or can comment on this matter? I know that, with the second script I uploaded, the circles are being created, they're just not being placed where the mouse cursor is.
      As if there's a problem with event.args[0] and args[1].