creating curves with control-points

Sep 6, 2007 at 11:33pm

creating curves with control-points

Hi forum!

I am quite curious, if there would be an object in Max/Jitter to create curves with control-points.
In fact I was searching already a long time, but didn’t get, what I wanted. My goal would be to define as many control-points is I need. Then the “object” should create a curve between these points. For example: I define a start point (x,y or maybe also z), then the next point, and another, and so on…
What I already found:
–> cubiccurve-example.pat (jitter-examples/java):
a great thing, but only 4 control-points. I am not well trained in Java on “mxj” :( , so I am not able to add some more control-points… and also antialiasing doesn’t work here, don’t know why…
–> js_jitterspline-example.pat (jitter-examples/render):
this would be THE thing I need! I can create as many control-points as I need. Unfortunately, all points in this example are created by “random”. Again the problem with my not existing knowledge in JavaScript :((
–> bspline (taken from the externals on http://www.jasch.ch):
this is a very interesting object, but I don’t understand, how to put some more control-points into it! I got an example from the forum under: http://www.cycling74.com/forums/index.php?t=msg&goto=113922&rid=5269&S=668f46a5697fcc4a9418021c8f9cd257&srch=curves#msg_113922
but I want to define the points with “Number-Boxes” and not with a “Function”. The other problem here is, that the curves are drawn into a LCD-object, so rendering doesn’t work, I think…

It would be great, if somebody knows an object in Max/Jitter, which can create such curves with control-points without Java or JavaScript. Maybe the “bspline-object” is what I need, but I didn’t solve my problems to put some more points to the curve and the rendering into a “jit.window” with the help-file!
I hope that somebody could give me a useful hint or idea how to solve my “curve-problem”!!!
Thanks already,
Johannes

#33573
Sep 7, 2007 at 4:39pm

Hello there!

I also posted this reply in the MAX/MSP-Forum under the Theme “max lacks a curve drawing tool with an intuitive GUI?!?”, because the subject is also curve-drawing…

Well, I spent quite a time on the “bspline”-object and finally I come forward but “step-bystep” (in fact, very small steps ;) ).
I could reach to mix the two patches together now! Well, nearly…
The bspline is rendered now in a “jit.window”, and I can also put more control-points into the curve, by changing the “jit.matrix”. I cannot just jet give the control-points the x/y-coordinates, but I will work on it (I think the solution is in creating a control-matrix, or so…).
But here the problem for the moment: I can’t visualize the control-points in the “jit.window”! The control-lines between the points are visible, but not the points. I have already a smoking head because of this problem…
Here my patch:

#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P message 121 168 34 9109513 reset;
#P newex 121 191 172 9109513 jit.gl.handle mado @inherit_transform 1;
#P toggle 272 227 15 0;
#P newex 233 226 35 9109513 sel 27;
#P message 272 245 68 9109513 fullscreen $1;
#P newex 175 270 235 9109513 jit.window mado @depthbuffer 1 @size 400 300;
#P newex 188 226 40 9109513 key;
#P toggle 654 165 15 0;
#N vpatcher 1301 492 2118 906;
#P origin 0 -3;
#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#N vpatcher 640 509 1240 909;
#P window setfont “Sans Serif” 9.;
#P window linecount 0;
#P message 302 153 88 9109513 set circle 0.5;
#P window linecount 1;
#N vpatcher 40 55 440 355;
#N comlet bang on first bang;
#P outlet 25 197 15 0;
#P window setfont “Sans Serif” 9.;
#N counter;
#X flags 0 0;
#P newobj 25 96 66 9109513 counter;
#N comlet reset;
#P inlet 53 42 15 0;
#N comlet bang-count;
#P inlet 25 42 15 0;
#P newex 25 135 30 9109513 sel 0;
#P connect 1 0 3 0;
#P connect 3 0 0 0;
#P connect 0 0 4 0;
#P connect 2 0 3 2;
#P pop;
#P newobj 303 129 40 9109513 p cntr;
#P message 372 126 58 9109513 set moveto;
#P message 408 98 79 9109513 glcolor 1. 1. 0. 1.;
#P message 191 99 77 9109513 glcolor 1. 0. 1. 1.;
#P newex 126 102 49 9109513 zl slice 2;
#P newex 126 80 45 9109513 zl iter 3;
#P newex 50 211 45 9109513 gate 1 1;
#P newex 266 204 45 9109513 gate 1 1;
#P newex 303 100 49 9109513 zl slice 2;
#P newex 302 177 82 9109513 prepend circle 0.5;
#P newex 302 78 45 9109513 zl iter 3;
#P message 145 158 58 9109513 set moveto;
#P message 85 158 50 9109513 set lineto;
#P newex 126 50 116 9109513 t b l b l b;
#N vpatcher 40 55 440 355;
#N comlet bang on first bang;
#P outlet 25 197 15 0;
#P window setfont “Sans Serif” 9.;
#N counter;
#X flags 0 0;
#P newobj 25 96 66 9109513 counter;
#N comlet reset;
#P inlet 53 42 15 0;
#N comlet bang-count;
#P inlet 25 42 15 0;
#P newex 25 135 30 9109513 sel 0;
#P connect 1 0 3 0;
#P connect 3 0 0 0;
#P connect 0 0 4 0;
#P connect 2 0 3 2;
#P pop;
#P newobj 85 137 40 9109513 p cntr;
#P newex 85 182 71 9109513 prepend lineto;
#P inlet 29 19 15 0;
#P inlet 50 19 15 0;
#P inlet 266 23 15 0;
#P outlet 50 255 15 0;
#P connect 2 0 13 0;
#P connect 12 0 0 0;
#P connect 13 0 0 0;
#P fasten 15 0 5 0 131 122 90 122;
#P connect 5 0 7 0;
#P fasten 15 0 4 0 131 178 90 178;
#P connect 7 0 4 0;
#P fasten 8 0 4 0 150 183 90 183;
#P fasten 16 0 13 1 196 147 214 147 214 205 90 205;
#P connect 4 0 13 1;
#P fasten 6 2 5 1 183 134 120 134;
#P connect 3 0 6 0;
#P connect 6 1 14 0;
#P connect 14 0 15 0;
#P fasten 6 2 8 0 183 154 150 154;
#P connect 6 2 16 0;
#P connect 1 0 12 0;
#P fasten 17 0 12 1 413 121 439 121 439 199 306 199;
#P connect 10 0 12 1;
#P fasten 6 3 9 0 209 73 307 73;
#P connect 19 0 20 0;
#P fasten 11 0 10 0 308 126 293 126 293 172 307 172;
#P fasten 18 0 10 0 377 148 399 148 399 172 307 172;
#P connect 20 0 10 0;
#P connect 9 0 11 0;
#P connect 11 0 19 0;
#P fasten 6 4 19 1 235 78 292 78 292 125 338 125;
#P fasten 6 4 18 0 235 74 377 74;
#P fasten 6 4 17 0 235 72 413 72;
#P pop;
#P newobj 397 288 78 9109513 p draw_control_2;
#P toggle 465 271 15 0;
#P objectname toggle[2];
#P toggle 431 271 15 0;
#P objectname toggle[1];
#P comment 702 162 100 9109513 Wave Z Depth;
#P comment 316 68 100 9109513 Wave X Height;
#P inlet 53 53 15 0;
#P inlet 36 53 15 0;
#P newex 36 80 27 9109513 gate;
#P newex 189 162 35 9109513 zl rev;
#P flonum 279 66 32 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 109 88 180 9109513 jit.op @op – @val 0.5;
#P flonum 240 45 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 109 66 141 9109513 jit.op @op * @val 3;
#P number 147 134 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 109 134 27 9109513 t b l;
#P newex 109 158 48 9109513 speedlim;
#P newex 189 184 511 9109513 unpack 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0.;
#P newex 109 45 105 9109513 jit.matrix 1 float32 1 12;
#P window setfont Verdana 9.;
#P newex 109 112 43 23789577 jit.spill;
#B color 5;
#P window setfont “Sans Serif” 9.;
#P hidden message 36 163 20 9109513 50;
#P hidden newex 36 140 45 9109513 loadbang;
#P newex 174 206 541 9109513 pack -1.2 0. 0. -1. 0. 0. -0.8 0. 0. -0.6 0. 0. -0.4 0. 0. -0.2 0. 0. 0. 0. 0. 0.2 0. 0. 0.4 0. 0. 0.6 0. 0. 0.8 0. 0. 1. 0. 0.;
#P number 36 186 35 9 4 255 3 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 36 203 45 9109513 steps $1;
#P newex 17 372 52 9109513 s sketchy;
#P message 111 297 58 9109513 set moveto;
#P message 92 320 50 9109513 set lineto;
#N vpatcher 40 55 440 355;
#N comlet bang on first bang;
#P outlet 25 197 15 0;
#P button 53 70 15 0;
#P window setfont “Sans Serif” 9.;
#N counter;
#X flags 0 0;
#P newobj 25 96 66 9109513 counter;
#N comlet reset;
#P inlet 53 42 15 0;
#N comlet bang-count;
#P inlet 25 42 15 0;
#P button 25 164 15 0;
#P newex 25 135 30 9109513 sel 0;
#P button 25 70 15 0;
#P connect 3 0 0 0;
#P connect 0 0 5 0;
#P connect 5 0 1 0;
#P connect 1 0 2 0;
#P connect 2 0 7 0;
#P connect 4 0 6 0;
#P connect 6 0 5 2;
#P pop;
#P newobj 35 297 67 9109513 p cntr;
#P newex 36 264 27 9109513 t b l;
#P message 167 320 88 9109513 glcolor 1. 1. 1. 1.;
#P newex 17 340 71 9109513 prepend lineto;
#P newex 36 236 66 9109513 bspline;
#P flonum 703 185 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P comment 280 46 100 9109513 Wave Multiplier;
#P window linecount 4;
#P comment 6 135 100 9109513 Number of Steps to produce a nice curve – more the nicer but also slower;
#P fasten 6 1 4 0 58 331 22 331;
#P fasten 9 0 4 0 116 339 22 339;
#P fasten 8 0 4 0 97 339 22 339;
#P connect 34 0 10 0;
#P connect 4 0 10 0;
#P fasten 5 0 10 0 172 371 22 371;
#P connect 6 0 7 0;
#P connect 28 0 27 0;
#P hidden connect 14 0 15 0;
#P hidden connect 15 0 12 0;
#P connect 12 0 11 0;
#P connect 13 0 3 0;
#P connect 11 0 3 0;
#P connect 3 0 6 0;
#P connect 29 0 27 1;
#P connect 3 1 7 1;
#P fasten 7 0 8 0 40 316 97 316;
#P fasten 27 0 17 0 41 103 100 103 100 39 114 39;
#P connect 17 0 22 0;
#P connect 22 0 24 0;
#P connect 24 0 16 0;
#P connect 16 0 20 0;
#P connect 20 0 19 0;
#P fasten 3 1 9 0 97 293 116 293;
#P connect 21 0 19 1;
#P fasten 6 0 5 0 41 293 172 293;
#P connect 19 0 13 0;
#P fasten 20 1 26 0 131 154 194 154;
#P connect 26 0 18 0;
#P connect 18 0 13 1;
#P fasten 2 0 13 2 708 203 209 203;
#P connect 18 1 13 4;
#P connect 23 0 22 1;
#P fasten 2 0 13 5 708 203 254 203;
#P connect 25 0 24 1;
#P connect 18 2 13 7;
#P fasten 2 0 13 8 708 203 299 203;
#P connect 18 3 13 10;
#P fasten 2 0 13 11 708 203 344 203;
#P connect 18 4 13 13;
#P fasten 2 0 13 14 708 203 389 203;
#P connect 13 0 34 0;
#P connect 18 5 13 16;
#P fasten 2 0 13 17 708 203 434 203;
#P connect 32 0 34 1;
#P connect 18 6 13 19;
#P connect 33 0 34 2;
#P fasten 2 0 13 20 708 203 479 203;
#P connect 18 7 13 22;
#P fasten 2 0 13 23 708 203 524 203;
#P connect 18 8 13 25;
#P fasten 2 0 13 26 708 203 569 203;
#P connect 18 9 13 28;
#P fasten 2 0 13 29 708 203 614 203;
#P connect 18 10 13 31;
#P fasten 2 0 13 32 708 203 659 203;
#P connect 18 11 13 34;
#P fasten 2 0 13 35 708 203 704 203;
#P pop;
#P newobj 654 199 41 9109513 p wave;
#P hidden message 230 53 14 9109513 2;
#P flonum 116 52 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#N vpatcher 866 36 1109 300;
#P origin 9 0;
#P inlet 124 153 15 0;
#P inlet 13 28 15 0;
#P window setfont Verdana 9.;
#P window linecount 0;
#P newex 84 200 103 23789577 jit.poke~ efuefuti 2;
#P newex 176 127 42 23789577 !-~ 11;
#B color 4;
#P newex 84 175 50 23789577 *~ 0.02;
#P newex 84 131 56 23789577 cartopol~;
#P newex 84 99 102 23789577 fft~ 512 512 0;
#P newex 13 50 77 23789577 select 0 1;
#P newex 13 121 34 23789577 adc~;
#P message 46 72 68 23789577 startwindow;
#P message 13 72 31 23789577 stop;
#P newex 13 95 34 23789577 dac~;
#P connect 10 0 4 0;
#P connect 4 0 1 0;
#P connect 1 0 0 0;
#P fasten 2 0 0 0 51 91 18 91;
#P hidden connect 3 0 0 0;
#P hidden connect 3 1 0 1;
#P connect 4 1 2 0;
#P hidden fasten 3 1 5 0 59 136 59 94 89 94;
#P connect 5 0 6 0;
#P connect 6 0 7 0;
#P connect 7 0 9 0;
#P connect 11 0 7 1;
#P connect 5 1 6 1;
#P connect 5 2 8 0;
#P lcolor 5;
#P connect 8 0 9 2;
#P pop;
#P newobj 91 80 35 9109513 p peak;
#P number 201 74 35 9 1 63 3 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P window setfont Verdana 9.;
#P message 201 97 76 23789577 line_width $1;
#P toggle 492 47 15 0;
#P message 516 48 92 23789577 blend_enable $1;
#P toggle 376 47 15 0;
#P message 401 48 69 23789577 antialias $1;
#P user jit.pwindow 472 203 165 206 0 1 0 0 1 0;
#P newex 473 168 155 23789577 jit.matrix efuefuti 1 char 1 12;
#P window setfont “Sans Serif” 9.;
#P message 50 302 33 9109513 reset;
#P newex 50 329 51 9109513 s sketchy;
#P newex 289 119 51 9109513 r sketchy;
#P toggle 377 75 15 0;
#P message 377 97 94 9109513 smooth_shading $1;
#P hidden newex 171 52 50 9109513 loadbang;
#P toggle 289 75 15 0;
#P message 289 97 81 9109513 depth_enable $1;
#P newex 289 142 89 9109513 jit.gl.sketch mado;
#B color 5;
#P hidden message 171 86 13 9109513 1;
#P number 71 53 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P toggle 26 52 15 0;
#P newex 26 78 55 9109513 qmetro 50;
#P newex 26 125 86 9109513 t b b b b b erase;
#P newex 26 216 90 9109513 jit.gl.render mado;
#P comment 26 35 44 9109513 START;
#P comment 115 39 100 9109513 Audio Level;
#P comment 673 166 100 9109513 Turn Wave off/on;
#P connect 6 0 5 0;
#P connect 5 0 4 0;
#P fasten 4 5 3 0 106 173 31 173;
#P connect 4 0 3 0;
#P connect 36 0 3 0;
#P fasten 4 4 17 0 91 291 55 291;
#P connect 17 0 16 0;
#P connect 7 0 5 1;
#P fasten 6 0 26 0 31 72 96 72;
#P connect 27 0 26 1;
#P connect 37 0 36 0;
#P hidden connect 12 0 8 0;
#P fasten 33 0 32 0 277 264 180 264;
#P hidden connect 28 0 25 0;
#P connect 25 0 24 0;
#P hidden connect 12 0 28 0;
#P fasten 31 0 34 0 193 245 230 245 230 224 238 224;
#P fasten 34 0 35 0 238 244 269 244 269 224 277 224;
#P connect 35 0 33 0;
#P hidden fasten 8 0 11 0 176 88 294 88;
#P connect 11 0 10 0;
#P hidden connect 22 0 9 0;
#P hidden connect 20 0 9 0;
#P hidden connect 13 0 9 0;
#P connect 15 0 9 0;
#P hidden connect 10 0 9 0;
#P hidden fasten 24 0 9 0 206 116 294 116;
#P hidden connect 8 0 21 0;
#P hidden fasten 8 0 14 0 176 88 382 88;
#P connect 14 0 13 0;
#P fasten 21 0 20 0 381 64 396 64 396 45 406 45;
#P fasten 4 3 18 0 76 166 478 166;
#P connect 18 0 19 0;
#P hidden connect 8 0 23 0;
#P fasten 23 0 22 0 497 64 510 64 510 45 521 45;
#P hidden connect 8 0 30 0;
#P connect 30 0 29 0;
#P fasten 18 0 29 1 478 191 690 191;
#P window clipboard copycount 38;

Can somebody help me here, please? Maybe for better understanding: in the “bspline.help”-file the points are visible, but just in an LCD-object!
Thx a lot,
Johannes

#111959
Sep 9, 2007 at 9:15pm

Well like I said: “step-by-step” I caome forward…
Here is the new patch:

#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P newex 115 331 55 9109513 s sketchy2;
#P newex 598 105 53 9109513 r sketchy2;
#P newex 598 128 89 9109513 jit.gl.sketch mado;
#B color 5;
#P message 121 168 34 9109513 reset;
#P newex 121 191 172 9109513 jit.gl.handle mado @inherit_transform 1;
#P toggle 272 227 15 0;
#P newex 233 226 35 9109513 sel 27;
#P message 272 245 68 9109513 fullscreen $1;
#P newex 175 270 235 9109513 jit.window mado @depthbuffer 1 @size 400 300;
#P newex 188 226 40 9109513 key;
#P toggle 654 165 15 0;
#N vpatcher 1301 492 2118 906;
#P origin 0 -3;
#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P newex 467 350 55 9109513 s sketchy2;
#N vpatcher 358 290 1346 769;
#P origin 0 -115;
#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P message 303 246 115 9109513 circle 0.02 , position $1 $2;
#P outlet 266 363 15 0;
#P window setfont “Sans Serif” 14.;
#P newex 341 341 36 9109518 print;
#P window setfont “Sans Serif” 9.;
#P message 408 213 79 9109513 glcolor 1. 1. 0. 1.;
#P message 191 214 77 9109513 glcolor 1. 0. 1. 1.;
#P newex 126 217 49 9109513 zl slice 2;
#P newex 126 195 45 9109513 zl iter 3;
#P newex 50 326 45 9109513 gate 1 1;
#P newex 266 319 42 9109513 gate 1 1;
#P newex 303 215 49 9109513 zl slice 2;
#P newex 302 193 38 9109513 zl iter 3;
#P message 145 273 58 9109513 set moveto;
#P message 85 273 50 9109513 set lineto;
#P newex 126 165 116 9109513 t b l b l b;
#N vpatcher 40 55 440 355;
#N comlet bang on first bang;
#P outlet 25 197 15 0;
#P window setfont “Sans Serif” 9.;
#N counter;
#X flags 0 0;
#P newobj 25 96 66 9109513 counter;
#N comlet reset;
#P inlet 53 42 15 0;
#N comlet bang-count;
#P inlet 25 42 15 0;
#P newex 25 135 30 9109513 sel 0;
#P connect 1 0 3 0;
#P connect 3 0 0 0;
#P connect 0 0 4 0;
#P connect 2 0 3 2;
#P pop;
#P newobj 85 252 40 9109513 p cntr;
#P newex 85 297 71 9109513 prepend lineto;
#P inlet 29 134 15 0;
#P inlet 50 134 15 0;
#P inlet 266 138 15 0;
#P outlet 50 370 15 0;
#P window setfont “Sans Serif” 14.;
#P window linecount 0;
#P comment 294 124 214 9109518 Here is the creation of the control-points… only the last point is visible!?!;
#P user panel 259 115 257 288;
#X brgb 255 125 125;
#X frgb 0 0 0;
#X border 1;
#X rounded 0;
#X shadow 0;
#X done;
#P connect 4 0 14 0;
#P connect 14 0 2 0;
#P fasten 16 0 7 0 131 237 90 237;
#P connect 7 0 9 0;
#P fasten 10 0 6 0 150 298 90 298;
#P connect 9 0 6 0;
#P fasten 16 0 6 0 131 293 90 293;
#P fasten 17 0 14 1 196 262 214 262 214 320 90 320;
#P connect 6 0 14 1;
#P fasten 8 2 7 1 183 249 120 249;
#P connect 5 0 8 0;
#P connect 8 1 15 0;
#P connect 15 0 16 0;
#P fasten 8 2 10 0 183 269 150 269;
#P connect 8 2 17 0;
#P connect 3 0 13 0;
#P connect 13 0 20 0;
#P connect 21 0 13 1;
#P fasten 18 0 13 1 413 236 439 236 439 314 303 314;
#P fasten 8 3 11 0 209 190 307 190;
#P connect 11 0 12 0;
#P connect 12 0 21 0;
#P connect 21 0 19 0;
#P fasten 8 4 18 0 235 187 413 187;
#P pop;
#P newobj 397 288 78 9109513 p draw_control_2;
#P toggle 465 271 15 0;
#P objectname toggle[2];
#P toggle 431 271 15 0;
#P objectname toggle[1];
#P comment 702 162 100 9109513 Wave Z Depth;
#P comment 316 68 100 9109513 Wave X Height;
#P inlet 53 53 15 0;
#P inlet 36 53 15 0;
#P newex 36 80 27 9109513 gate;
#P newex 189 162 35 9109513 zl rev;
#P flonum 279 66 32 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 109 88 180 9109513 jit.op @op – @val 0.5;
#P flonum 240 45 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 109 66 141 9109513 jit.op @op * @val 3;
#P number 147 134 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 109 134 27 9109513 t b l;
#P newex 109 158 48 9109513 speedlim;
#P newex 189 184 511 9109513 unpack 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0.;
#P newex 109 45 105 9109513 jit.matrix 1 float32 1 12;
#P window setfont Verdana 9.;
#P newex 109 112 43 23789577 jit.spill;
#B color 5;
#P window setfont “Sans Serif” 9.;
#P hidden message 36 163 20 9109513 50;
#P hidden newex 36 140 45 9109513 loadbang;
#P newex 174 206 541 9109513 pack -1.2 0. 0. -1. 0. 0. -0.8 0. 0. -0.6 0. 0. -0.4 0. 0. -0.2 0. 0. 0. 0. 0. 0.2 0. 0. 0.4 0. 0. 0.6 0. 0. 0.8 0. 0. 1. 0. 0.;
#P number 36 186 35 9 4 255 3 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 36 203 45 9109513 steps $1;
#P newex 17 372 52 9109513 s sketchy;
#P message 111 297 58 9109513 set moveto;
#P message 92 320 50 9109513 set lineto;
#N vpatcher 40 55 440 355;
#N comlet bang on first bang;
#P outlet 25 197 15 0;
#P button 53 70 15 0;
#P window setfont “Sans Serif” 9.;
#N counter;
#X flags 0 0;
#P newobj 25 96 66 9109513 counter;
#N comlet reset;
#P inlet 53 42 15 0;
#N comlet bang-count;
#P inlet 25 42 15 0;
#P button 25 164 15 0;
#P newex 25 135 30 9109513 sel 0;
#P button 25 70 15 0;
#P connect 3 0 0 0;
#P connect 0 0 5 0;
#P connect 5 0 1 0;
#P connect 1 0 2 0;
#P connect 2 0 7 0;
#P connect 4 0 6 0;
#P connect 6 0 5 2;
#P pop;
#P newobj 35 297 67 9109513 p cntr;
#P newex 36 264 27 9109513 t b l;
#P message 167 320 88 9109513 glcolor 1. 1. 1. 1.;
#P newex 17 340 71 9109513 prepend lineto;
#P newex 36 236 66 9109513 bspline;
#P flonum 703 185 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P comment 280 46 100 9109513 Wave Multiplier;
#P window linecount 4;
#P comment 6 135 100 9109513 Number of Steps to produce a nice curve – more the nicer but also slower;
#P fasten 8 0 4 0 97 339 22 339;
#P fasten 9 0 4 0 116 339 22 339;
#P fasten 6 1 4 0 58 331 22 331;
#P fasten 5 0 10 0 172 371 22 371;
#P connect 4 0 10 0;
#P connect 34 0 10 0;
#P connect 6 0 7 0;
#P connect 28 0 27 0;
#P hidden connect 14 0 15 0;
#P hidden connect 15 0 12 0;
#P connect 12 0 11 0;
#P connect 13 0 3 0;
#P connect 11 0 3 0;
#P connect 3 0 6 0;
#P connect 29 0 27 1;
#P connect 3 1 7 1;
#P fasten 7 0 8 0 40 316 97 316;
#P fasten 27 0 17 0 41 103 100 103 100 39 114 39;
#P connect 17 0 22 0;
#P connect 22 0 24 0;
#P connect 24 0 16 0;
#P connect 16 0 20 0;
#P connect 20 0 19 0;
#P fasten 3 1 9 0 97 293 116 293;
#P connect 21 0 19 1;
#P fasten 6 0 5 0 41 293 172 293;
#P connect 19 0 13 0;
#P fasten 20 1 26 0 131 154 194 154;
#P connect 26 0 18 0;
#P connect 18 0 13 1;
#P fasten 2 0 13 2 708 203 209 203;
#P connect 18 1 13 4;
#P connect 23 0 22 1;
#P fasten 2 0 13 5 708 203 254 203;
#P connect 25 0 24 1;
#P connect 18 2 13 7;
#P fasten 2 0 13 8 708 203 299 203;
#P connect 18 3 13 10;
#P fasten 2 0 13 11 708 203 344 203;
#P connect 18 4 13 13;
#P fasten 2 0 13 14 708 203 389 203;
#P connect 13 0 34 0;
#P connect 18 5 13 16;
#P fasten 2 0 13 17 708 203 434 203;
#P connect 32 0 34 1;
#P connect 18 6 13 19;
#P connect 33 0 34 2;
#P connect 34 1 35 0;
#P fasten 2 0 13 20 708 203 479 203;
#P connect 18 7 13 22;
#P fasten 2 0 13 23 708 203 524 203;
#P connect 18 8 13 25;
#P fasten 2 0 13 26 708 203 569 203;
#P connect 18 9 13 28;
#P fasten 2 0 13 29 708 203 614 203;
#P connect 18 10 13 31;
#P fasten 2 0 13 32 708 203 659 203;
#P connect 18 11 13 34;
#P fasten 2 0 13 35 708 203 704 203;
#P pop;
#P newobj 654 199 41 9109513 p wave;
#P hidden message 230 53 14 9109513 2;
#P flonum 116 52 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#N vpatcher 866 36 1109 300;
#P origin 9 0;
#P inlet 124 153 15 0;
#P inlet 13 28 15 0;
#P window setfont Verdana 9.;
#P newex 84 200 103 23789577 jit.poke~ efuefuti 2;
#P newex 176 127 42 23789577 !-~ 11;
#B color 4;
#P newex 84 175 50 23789577 *~ 0.02;
#P newex 84 131 56 23789577 cartopol~;
#P newex 84 99 102 23789577 fft~ 512 512 0;
#P newex 13 50 77 23789577 select 0 1;
#P newex 13 121 34 23789577 adc~;
#P message 46 72 68 23789577 startwindow;
#P message 13 72 31 23789577 stop;
#P newex 13 95 34 23789577 dac~;
#P connect 10 0 4 0;
#P connect 4 0 1 0;
#P hidden connect 3 0 0 0;
#P fasten 2 0 0 0 51 91 18 91;
#P connect 1 0 0 0;
#P hidden connect 3 1 0 1;
#P connect 4 1 2 0;
#P hidden fasten 3 1 5 0 59 136 59 94 89 94;
#P connect 5 0 6 0;
#P connect 6 0 7 0;
#P connect 7 0 9 0;
#P connect 11 0 7 1;
#P connect 5 1 6 1;
#P connect 5 2 8 0;
#P lcolor 5;
#P connect 8 0 9 2;
#P pop;
#P newobj 91 80 35 9109513 p peak;
#P number 201 74 35 9 1 63 3 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P window setfont Verdana 9.;
#P message 201 97 76 23789577 line_width $1;
#P toggle 492 47 15 0;
#P message 516 48 92 23789577 blend_enable $1;
#P toggle 376 47 15 0;
#P message 401 48 69 23789577 antialias $1;
#P user jit.pwindow 472 203 165 206 0 1 0 0 1 0;
#P newex 473 168 155 23789577 jit.matrix efuefuti 1 char 1 12;
#P window setfont “Sans Serif” 9.;
#P message 50 302 33 9109513 reset;
#P newex 50 329 51 9109513 s sketchy;
#P newex 289 119 51 9109513 r sketchy;
#P toggle 377 75 15 0;
#P message 377 97 94 9109513 smooth_shading $1;
#P hidden newex 171 52 50 9109513 loadbang;
#P toggle 289 75 15 0;
#P message 289 97 81 9109513 depth_enable $1;
#P newex 289 142 89 9109513 jit.gl.sketch mado;
#B color 5;
#P hidden message 171 86 13 9109513 1;
#P number 71 53 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P toggle 26 52 15 0;
#P newex 26 78 55 9109513 qmetro 50;
#P newex 26 125 86 9109513 t b b b b b erase;
#P newex 26 216 90 9109513 jit.gl.render mado;
#P comment 26 35 44 9109513 START;
#P comment 115 39 100 9109513 Audio Level;
#P comment 673 166 100 9109513 Turn Wave off/on;
#P connect 6 0 5 0;
#P connect 5 0 4 0;
#P connect 36 0 3 0;
#P connect 4 0 3 0;
#P fasten 4 5 3 0 106 173 31 173;
#P fasten 4 4 17 0 91 291 55 291;
#P connect 17 0 16 0;
#P connect 7 0 5 1;
#P fasten 6 0 26 0 31 72 96 72;
#P connect 17 0 40 0;
#P connect 27 0 26 1;
#P connect 37 0 36 0;
#P hidden connect 12 0 8 0;
#P fasten 33 0 32 0 277 264 180 264;
#P hidden connect 28 0 25 0;
#P connect 25 0 24 0;
#P hidden connect 12 0 28 0;
#P fasten 31 0 34 0 193 245 230 245 230 224 238 224;
#P fasten 34 0 35 0 238 244 269 244 269 224 277 224;
#P connect 35 0 33 0;
#P hidden fasten 8 0 11 0 176 88 294 88;
#P connect 11 0 10 0;
#P hidden fasten 24 0 9 0 206 116 294 116;
#P hidden connect 10 0 9 0;
#P connect 15 0 9 0;
#P hidden connect 13 0 9 0;
#P hidden connect 20 0 9 0;
#P hidden connect 22 0 9 0;
#P hidden connect 8 0 21 0;
#P hidden fasten 8 0 14 0 176 88 382 88;
#P connect 14 0 13 0;
#P fasten 21 0 20 0 381 64 396 64 396 45 406 45;
#P fasten 4 3 18 0 76 166 478 166;
#P connect 18 0 19 0;
#P hidden connect 8 0 23 0;
#P fasten 23 0 22 0 497 64 510 64 510 45 521 45;
#P connect 39 0 38 0;
#P hidden connect 8 0 30 0;
#P connect 30 0 29 0;
#P fasten 18 0 29 1 478 191 690 191;
#P window clipboard copycount 41;

I can visualize ONE control-point now in the jit.window. But why only the last one? I wanted to see all 12 control-points in the window! I don’t understand why, because the list sends the coordinates of all points but jit.gl.sketch only puts the last point out..
Some ideas how to correct this bug?
Thanks,
Johannes

#111960
Sep 10, 2007 at 3:45pm

Again me!
Well, I really worked on a solution for that problem, but I don’t come forward!!!!
Is it really not possible, when I send a list of x/y-coordinates to jit.gl.sketch to draw a circle at every position in the list?
I don’t understand that…
Just any news on this topic would be helpful!
Thanks,
Johannes

#111961
Sep 10, 2007 at 4:18pm

Hi Johannes,
Sorry, I haven’t really been following this thread, but I might suggest
that you check the Jitter Recipes for some of the answers, if you
haven’t already.

http://cycling74.com/story/2006/2/14/161736/108

Pay special attention to ElapseGraph and TwineBall. Let us know what
you come up with.

Best,
Andrew B.

#111962
Sep 10, 2007 at 4:30pm

its difficult to tell what could be going wrong, the patch is quite layered which makes it time consuming to follow your programming. its a shot in the dark, but i suspect they might be getting erased before they are drawn…

perhaps you could simplify the patch.

j

#111963
Sep 10, 2007 at 6:21pm

I don’t have time to figure out why this is nescessary, but adding a bang in
your message in side of your draw_control_2 patcher makes it work
(position $1 $2, circle 0.02, bang)

On 9/10/07 9:30 AM, “justin” wrote:

>
> its difficult to tell what could be going wrong, the patch is quite layered
> which makes it time consuming to follow your programming. its a shot in the
> dark, but i suspect they might be getting erased before they are drawn…
>
> perhaps you could simplify the patch.
>
> j

#111964
Sep 11, 2007 at 1:08pm

#111965
Sep 11, 2007 at 2:02pm

Bonsoir!

Ok, here the patch a little bit “sweeped-out”…

#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P newex 115 331 55 9109513 s sketchy2;
#P newex 495 118 53 9109513 r sketchy2;
#P newex 495 141 89 9109513 jit.gl.sketch mado;
#B color 5;
#P message 121 168 34 9109513 reset;
#P newex 121 191 172 9109513 jit.gl.handle mado @inherit_transform 1;
#P toggle 272 227 15 0;
#P newex 233 226 35 9109513 sel 27;
#P message 272 245 68 9109513 fullscreen $1;
#P newex 175 270 235 9109513 jit.window mado @depthbuffer 1 @size 400 300;
#P newex 188 226 40 9109513 key;
#P toggle 654 165 15 0;
#N vpatcher 1306 307 2416 1039;
#P origin 0 -3;
#P window setfont “Sans Serif” 9.;
#P newex 660 480 55 9109513 s sketchy2;
#P toggle 355 299 15 0;
#P toggle 660 297 15 0;
#P window linecount 2;
#P message 696 409 141 9109513 glcolor 1. 1. 0. 1. , circle 0.01 , position $1 $2 , bang;
#P window linecount 1;
#P newex 432 386 49 9109513 zl slice 2;
#P newex 432 361 45 9109513 zl iter 3;
#P newex 355 492 45 9109513 gate 1 1;
#P newex 660 448 46 9109513 gate 1 1;
#P newex 696 379 49 9109513 zl slice 2;
#P newex 696 354 38 9109513 zl iter 3;
#P message 450 439 58 9109513 set moveto;
#P message 390 439 44 9109513 set lineto;
#P newex 428 247 116 9109513 t b l b l b;
#N vpatcher 40 55 440 355;
#N comlet bang on first bang;
#P outlet 25 197 15 0;
#P window setfont “Sans Serif” 9.;
#N counter;
#X flags 0 0;
#P newobj 25 96 66 9109513 counter;
#N comlet reset;
#P inlet 53 42 15 0;
#N comlet bang-count;
#P inlet 25 42 15 0;
#P newex 25 135 30 9109513 sel 0;
#P connect 1 0 3 0;
#P connect 3 0 0 0;
#P connect 0 0 4 0;
#P connect 2 0 3 2;
#P pop;
#P newobj 390 418 40 9109513 p cntr;
#P newex 390 463 71 9109513 prepend lineto;
#P window setfont “Sans Serif” 14.;
#P window linecount 2;
#P comment 680 295 156 9109518 Switch on to create the control-points;
#P user panel 641 293 208 233;
#X brgb 255 242 59;
#X frgb 0 0 0;
#X border 1;
#X rounded 0;
#X shadow 0;
#X done;
#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P comment 702 162 100 9109513 Wave Z Depth;
#P comment 316 68 100 9109513 Wave X Height;
#P inlet 53 53 15 0;
#P inlet 36 53 15 0;
#P newex 36 80 27 9109513 gate;
#P newex 189 162 35 9109513 zl rev;
#P flonum 279 66 32 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 109 88 180 9109513 jit.op @op – @val 0.5;
#P flonum 240 45 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 109 66 141 9109513 jit.op @op * @val 3;
#P number 147 134 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 109 134 27 9109513 t b l;
#P newex 109 158 48 9109513 speedlim;
#P newex 189 184 511 9109513 unpack 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0.;
#P newex 109 45 105 9109513 jit.matrix 1 float32 1 12;
#P window setfont Verdana 9.;
#P newex 109 112 43 23724041 jit.spill;
#B color 5;
#P window setfont “Sans Serif” 9.;
#P hidden message 60 229 20 9109513 50;
#P hidden newex 60 206 45 9109513 loadbang;
#P newex 174 213 541 9109513 pack -1.2 0. 0. -1. 0. 0. -0.8 0. 0. -0.6 0. 0. -0.4 0. 0. -0.2 0. 0. 0. 0. 0. 0.2 0. 0. 0.4 0. 0. 0.6 0. 0. 0.8 0. 0. 1. 0. 0.;
#P number 60 252 35 9 4 255 3 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 60 269 45 9109513 steps $1;
#P newex 42 530 52 9109513 s sketchy;
#P message 136 477 58 9109513 set moveto;
#P message 60 477 50 9109513 set lineto;
#N vpatcher 40 55 440 355;
#N comlet bang on first bang;
#P outlet 25 197 15 0;
#P button 53 70 15 0;
#P window setfont “Sans Serif” 9.;
#N counter;
#X flags 0 0;
#P newobj 25 96 66 9109513 counter;
#N comlet reset;
#P inlet 53 42 15 0;
#N comlet bang-count;
#P inlet 25 42 15 0;
#P button 25 164 15 0;
#P newex 25 135 30 9109513 sel 0;
#P button 25 70 15 0;
#P connect 3 0 0 0;
#P connect 0 0 5 0;
#P connect 5 0 1 0;
#P connect 1 0 2 0;
#P connect 2 0 7 0;
#P connect 4 0 6 0;
#P connect 6 0 5 2;
#P pop;
#P newobj 60 455 66 9109513 p cntr;
#P newex 60 422 27 9109513 t b l;
#P message 192 454 79 9109513 glcolor 0. 1. 0. 1.;
#P newex 42 502 71 9109513 prepend lineto;
#P newex 60 394 66 9109513 bspline;
#P flonum 703 185 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P comment 280 46 100 9109513 Wave Multiplier;
#P window linecount 4;
#P comment 30 201 100 9109513 Number of Steps to produce a nice curve – more the nicer but also slower;
#P window setfont “Sans Serif” 14.;
#P window linecount 2;
#P comment 375 296 186 9109518 Switch on to create the control-lines;
#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P message 496 380 77 9109513 glcolor 1. 0. 1. 1.;
#P user panel 344 294 238 233;
#X brgb 255 125 241;
#X frgb 0 0 0;
#X border 1;
#X rounded 0;
#X shadow 0;
#X done;
#P window setfont “Sans Serif” 14.;
#P comment 165 392 76 9109518 The curve;
#P user panel 34 377 257 180;
#X brgb 43 255 47;
#X frgb 0 0 0;
#X border 1;
#X rounded 0;
#X shadow 0;
#X done;
#P connect 33 0 32 0;
#P fasten 11 1 9 0 82 446 47 446;
#P fasten 14 0 9 0 141 497 47 497;
#P fasten 13 0 9 0 65 497 47 497;
#P fasten 47 0 15 0 360 523 47 523;
#P connect 9 0 15 0;
#P fasten 10 0 15 0 197 523 47 523;
#P connect 34 0 32 1;
#P hidden connect 19 0 20 0;
#P hidden connect 20 0 17 0;
#P connect 17 0 16 0;
#P fasten 18 0 8 0 179 368 65 368;
#P connect 16 0 8 0;
#P connect 8 0 11 0;
#P connect 11 0 12 0;
#P fasten 12 0 13 0 65 475 65 475;
#P fasten 32 0 22 0 41 103 100 103 100 39 114 39;
#P connect 22 0 27 0;
#P connect 27 0 29 0;
#P connect 29 0 21 0;
#P connect 21 0 25 0;
#P connect 25 0 24 0;
#P connect 8 1 12 1;
#P fasten 8 1 14 0 121 429 141 429;
#P connect 26 0 24 1;
#P fasten 24 0 18 0 114 185 179 185;
#P fasten 25 1 31 0 131 155 194 155;
#P connect 31 0 23 0;
#P connect 23 0 18 1;
#P fasten 11 0 10 0 65 446 197 446;
#P fasten 7 0 18 2 708 203 209 203;
#P connect 23 1 18 4;
#P connect 28 0 27 1;
#P fasten 7 0 18 5 708 203 254 203;
#P connect 30 0 29 1;
#P connect 23 2 18 7;
#P fasten 7 0 18 8 708 203 299 203;
#P connect 23 3 18 10;
#P fasten 7 0 18 11 708 203 344 203;
#P connect 52 0 47 0;
#P connect 23 4 18 13;
#P fasten 7 0 18 14 708 203 389 203;
#P fasten 49 0 40 0 437 410 395 410;
#P connect 40 0 42 0;
#P fasten 49 0 39 0 437 459 395 459;
#P fasten 43 0 39 0 455 459 395 459;
#P connect 42 0 39 0;
#P fasten 3 0 47 1 501 415 519 415 519 486 395 486;
#P connect 39 0 47 1;
#P connect 23 5 18 16;
#P fasten 41 2 40 1 485 410 425 410;
#P fasten 18 0 41 0 179 241 433 241;
#P fasten 7 0 18 17 708 203 434 203;
#P fasten 41 1 48 0 459 342 437 342;
#P connect 48 0 49 0;
#P fasten 41 2 43 0 485 410 455 410;
#P connect 23 6 18 19;
#P fasten 7 0 18 20 708 203 479 203;
#P fasten 41 2 3 0 485 362 501 362;
#P connect 23 7 18 22;
#P fasten 7 0 18 23 708 203 524 203;
#P connect 23 8 18 25;
#P fasten 7 0 18 26 708 203 569 203;
#P connect 23 9 18 28;
#P fasten 7 0 18 29 708 203 614 203;
#P connect 23 10 18 31;
#P fasten 7 0 18 32 708 203 659 203;
#P connect 51 0 46 0;
#P connect 46 0 53 0;
#P connect 23 11 18 34;
#P fasten 41 3 44 0 511 336 701 336;
#P connect 44 0 45 0;
#P connect 45 0 50 0;
#P connect 50 0 46 1;
#P fasten 7 0 18 35 708 203 704 203;
#P pop 1;
#P newobj 654 199 41 9109513 p wave;
#P hidden message 230 53 14 9109513 2;
#P flonum 116 52 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#N vpatcher 939 30 1182 294;
#P origin 9 0;
#P inlet 124 153 15 0;
#P inlet 13 28 15 0;
#P window setfont Verdana 9.;
#P newex 84 200 103 23724041 jit.poke~ efuefuti 2;
#P newex 176 127 42 23724041 !-~ 11;
#B color 4;
#P newex 84 175 50 23724041 *~ 0.02;
#P newex 84 131 56 23724041 cartopol~;
#P newex 84 99 102 23724041 fft~ 512 512 0;
#P newex 13 50 77 23724041 select 0 1;
#P newex 13 121 34 23724041 adc~;
#P message 46 72 68 23724041 startwindow;
#P message 13 72 31 23724041 stop;
#P newex 13 95 34 23724041 dac~;
#P connect 10 0 4 0;
#P connect 4 0 1 0;
#P connect 1 0 0 0;
#P fasten 2 0 0 0 51 91 18 91;
#P hidden connect 3 0 0 0;
#P hidden connect 3 1 0 1;
#P connect 4 1 2 0;
#P hidden fasten 3 1 5 0 59 136 59 94 89 94;
#P connect 5 0 6 0;
#P connect 6 0 7 0;
#P connect 7 0 9 0;
#P connect 11 0 7 1;
#P connect 5 1 6 1;
#P connect 5 2 8 0;
#P lcolor 5;
#P connect 8 0 9 2;
#P pop 1;
#P newobj 91 80 35 9109513 p peak;
#P number 201 74 35 9 1 63 3 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P window setfont Verdana 9.;
#P message 201 97 76 23724041 line_width $1;
#P toggle 492 47 15 0;
#P message 516 48 92 23724041 blend_enable $1;
#P toggle 376 47 15 0;
#P message 401 48 69 23724041 antialias $1;
#P user jit.pwindow 472 203 158 126 0 1 0 0 1 0;
#P newex 473 168 155 23724041 jit.matrix efuefuti 1 char 1 12;
#P window setfont “Sans Serif” 9.;
#P message 50 302 33 9109513 reset;
#P newex 50 329 51 9109513 s sketchy;
#P newex 289 119 51 9109513 r sketchy;
#P toggle 377 75 15 0;
#P message 377 97 94 9109513 smooth_shading $1;
#P hidden newex 171 52 50 9109513 loadbang;
#P toggle 289 75 15 0;
#P message 289 97 81 9109513 depth_enable $1;
#P newex 289 142 89 9109513 jit.gl.sketch mado;
#B color 5;
#P hidden message 171 86 13 9109513 1;
#P number 71 53 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P toggle 26 52 15 0;
#P newex 26 78 55 9109513 qmetro 50;
#P newex 26 125 86 9109513 t b b b b b erase;
#P newex 26 216 90 9109513 jit.gl.render mado;
#P comment 26 35 44 9109513 START;
#P comment 115 39 100 9109513 Audio Level;
#P comment 673 166 100 9109513 Turn Wave off/on;
#P connect 6 0 5 0;
#P connect 5 0 4 0;
#P fasten 4 5 3 0 106 173 31 173;
#P connect 4 0 3 0;
#P connect 36 0 3 0;
#P fasten 4 4 17 0 91 291 55 291;
#P connect 17 0 16 0;
#P connect 7 0 5 1;
#P fasten 6 0 26 0 31 72 96 72;
#P connect 17 0 40 0;
#P connect 27 0 26 1;
#P connect 37 0 36 0;
#P hidden connect 12 0 8 0;
#P fasten 33 0 32 0 277 264 180 264;
#P hidden connect 28 0 25 0;
#P connect 25 0 24 0;
#P hidden connect 12 0 28 0;
#P fasten 31 0 34 0 193 245 230 245 230 224 238 224;
#P fasten 34 0 35 0 238 244 269 244 269 224 277 224;
#P connect 35 0 33 0;
#P hidden fasten 8 0 11 0 176 88 294 88;
#P connect 11 0 10 0;
#P hidden connect 22 0 9 0;
#P hidden connect 20 0 9 0;
#P hidden connect 13 0 9 0;
#P connect 15 0 9 0;
#P hidden connect 10 0 9 0;
#P hidden fasten 24 0 9 0 206 116 294 116;
#P hidden connect 8 0 21 0;
#P hidden fasten 8 0 14 0 176 88 382 88;
#P connect 14 0 13 0;
#P fasten 21 0 20 0 381 64 396 64 396 45 406 45;
#P fasten 4 3 18 0 76 166 478 166;
#P connect 18 0 19 0;
#P hidden connect 8 0 23 0;
#P connect 39 0 38 0;
#P fasten 23 0 22 0 497 64 510 64 510 45 521 45;
#P hidden connect 8 0 30 0;
#P connect 30 0 29 0;
#P fasten 18 0 29 1 478 191 690 191;
#P window clipboard copycount 41;

Thanks again for your help!
I will go on changing the patch now. The goal is to create the curve with coordinates given by a webcam… We will see, if it works! I will go on posting!!
Wish you all the best and till later!!! ;)
Johannes

#111966

You must be logged in to reply to this topic.