Forums > Jitter

'Beautiful' Drawn Lines

September 5, 2008 | 1:27 pm

Hi,

Has anybody managed to achieve nice looking drawing input with either Jit.lcd or preferably Jit.GL.Sketch?

I have never managed to get a drawn line to look smooth using Jitter to date. I decided to use Processing for a project I am working on for this reason but have rapidly hit blockades with what Processing can do.

Anybody have any suggestions or an example patch where they have managed to get Jitter to draw ‘beautiful’ lines?

Cheers

Andy


September 5, 2008 | 2:34 pm

this may qualify. It’s a start, at least.

#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P message 84 228 86 196617 lighting_enable 1;
#P flonum 115 118 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 78 152 106 196617 erase_color 0 0 0 $1;
#P message 463 346 66 196617 displaylist 1;
#P window linecount 10;
#P comment 680 61 81 196617 •why does the "ribbon" constantly jerk and flip as it is drawn? it seems like it’s getting confused as to the orientation of "bends" in the curve…;
#P window linecount 1;
#P newex 504 27 75 196617 loadmess 0.06;
#P newex 384 28 66 196617 loadmess 50;
#P comment 540 52 81 196617 stroke thickness;
#P flonum 504 50 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P comment 420 52 81 196617 length of stroke;
#P flonum 384 50 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P comment 336 51 45 196617 z-coord;
#P flonum 300 49 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 326 207 20 196617 t b;
#P message 458 269 108 196617 strokeparam scale $1;
#P newex 515 245 60 196617 loadmess 3;
#P message 442 239 72 196617 line_width $1;
#N vpatcher 492 141 1121 767;
#P origin -165 123;
#P user jit.pwindow 251 325 310 58 0 1 0 0 1 0;
#P user jit.pwindow 250 384 310 58 0 1 0 0 1 0;
#P window setfont "Sans Serif" 9.;
#P flonum 141 490 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P window linecount 0;
#P message 141 512 73 196617 slide_down $1;
#P flonum 78 490 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 78 512 60 196617 slide_up $1;
#P newex 15 434 172 196617 jit.slide @slide_up 5 @slide_down 5;
#B color 5;
#P newex 0 183 41 196617 r pulse;
#B color 5;
#N comlet length;
#P inlet 47 31 15 0;
#N comlet z;
#P inlet 27 31 15 0;
#P window setfont "Sans Serif" 14.;
#N vpatcher 184 437 539 783;
#P window setfont "Sans Serif" 9.;
#P number 209 120 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P window linecount 2;
#P newex 135 244 92 196617 scale 0 319 -0.9 0.9;
#B color 5;
#P window linecount 1;
#P newex 150 162 44 196617 sel 319;
#B color 5;
#P toggle 132 82 15 0;
#P newex 134 112 46 196617 metro 1;
#B color 5;
#N counter 0 319;
#X flags 0 0;
#P newobj 130 137 74 196617 counter 0 319;
#B color 5;
#P newex 50 60 41 196617 r pulse;
#P newex 67 155 40 196617 change;
#B color 5;
#P number 106 50 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 70 81 44 196617 qlim 33;
#P newex 87 207 104 196617 scale 0 900 0.5 -0.5;
#B color 5;
#P newex 72 234 54 196617 pack 0. 0.;
#B color 5;
#P newex 68 187 117 196617 scale 0 1440 -0.5 0.5;
#B color 5;
#P newex 60 106 66 196617 mousestate;
#B color 5;
#P outlet 72 256 15 0;
#P connect 5 0 1 0;
#P connect 1 1 7 0;
#P connect 7 0 2 0;
#P connect 8 0 5 0;
#P connect 2 0 3 0;
#P connect 13 0 3 0;
#P connect 3 0 0 0;
#P connect 1 2 4 0;
#P connect 6 0 5 1;
#P connect 4 0 3 1;
#P connect 10 0 9 0;
#P connect 12 0 11 0;
#P connect 11 0 10 0;
#P connect 9 0 13 0;
#P connect 9 0 12 0;
#P connect 9 0 14 0;
#P pop 1;
#P newobj 84 136 69 196622 p mouse;
#P window setfont "Sans Serif" 9.;
#P newex 199 137 21 196617 t 0;
#N comlet dims;
#P outlet 235 469 15 0;
#P number 226 127 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 235 151 27 196617 – 1;
#P window linecount 1;
#P newex 261 242 33 196617 !- 19;
#B color 5;
#P newex 20 329 111 196617 jit.rota @boundmode 2;
#B color 5;
#P message 38 310 64 196617 offset_x $1;
#N comlet stroke coords;
#P outlet 20 469 15 0;
#P message 20 261 50 196617 dim $1 0;
#P newex 176 184 27 196617 t b l;
#P message 176 263 153 196617 setcell $1 0 val $2 $3 $4 , bang;
#P newex 176 241 75 196617 pack 0 0. 0. 0.;
#P newex 20 287 130 196617 jit.matrix 3 float32 100 1;
#N counter 0 0 99;
#X flags 0 0;
#P newobj 176 206 77 196617 counter 0 0 99;
#P comment 263 128 100 196617 length (dim);
#P connect 9 0 19 0;
#P connect 20 0 19 0;
#P connect 22 0 19 0;
#P connect 12 0 6 0;
#P fasten 4 0 2 0 181 284 25 284;
#P connect 6 0 2 0;
#P connect 2 0 9 0;
#P connect 8 0 9 0;
#P connect 18 0 9 0;
#P connect 19 0 7 0;
#P fasten 10 0 8 0 266 309 43 309;
#P connect 21 0 20 0;
#P connect 23 0 22 0;
#P connect 15 0 5 0;
#P connect 5 0 1 0;
#P connect 1 0 3 0;
#P connect 3 0 4 0;
#P connect 5 1 3 1;
#P connect 12 0 14 0;
#P connect 14 0 1 2;
#P fasten 17 0 12 0 52 124 231 124;
#P connect 12 0 11 0;
#P connect 11 0 13 0;
#P fasten 16 0 3 3 32 236 244 236;
#P connect 11 0 1 4;
#P connect 9 0 24 0;
#P connect 2 0 25 0;
#P fasten 1 0 10 0 181 227 266 227;
#P connect 11 0 10 1;
#P pop;
#P newobj 324 93 94 196617 p mouse&midipen2;
#P hidden newex 15 338 106 196617 bgcolor 200 195 190;
#P newex 555 122 66 196617 loadmess 10;
#P number 557 149 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P toggle 16 279 15 0;
#P newex 16 258 35 196617 sel 27;
#P newex 16 238 40 196617 key;
#P newex 16 298 91 196617 prepend fullscreen;
#P message 609 255 108 196617 reset , glcolor 1 1 1 1;
#P message 407 215 106 196617 strokepoint $1 $2 $3;
#P window linecount 2;
#P message 544 204 420 196617 beginstroke line , glenable line_smooth , glpolygonmode front_and_back fill , beginstroke basic3d , strokeparam slices 20 , strokeparam order $1 , strokeparam color 1 0.5 0.5 0.5;
#P window linecount 1;
#P newex 326 128 53 196617 t b l b b;
#P newex 326 171 41 196617 jit.iter;
#P newex 49 110 41 196617 s pulse;
#P message 35 156 34 196617 reset;
#P newex 15 318 190 196617 jit.window demo @fsmenubar 0 @fsaa 1;
#P newex 34 186 264 196617 jit.gl.handle demo @inherit_transform 1 @auto_rotate 1;
#P number 66 37 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P toggle 25 37 15 0;
#P objectname render_tog;
#P newex 0 208 269 196617 jit.gl.render demo @blend_enable 1 @erase_color 0 0 0 1;
#P newex 326 316 385 196617 jit.gl.sketch demo @blend_enable 1 @scale 2. 2. 2. @lighting_enable 0 @name wave;
#P newex 25 61 51 196617 qmetro 1;
#P newex 25 83 58 196617 t b b erase;
#P message 344 234 54 196617 endstroke;
#P newex 350 208 44 196617 sel 117;
#P comment 591 145 32 196617 order;
#P fasten 14 3 15 0 373 179 549 179;
#P fasten 14 3 17 0 373 179 614 179;
#P connect 23 0 22 0;
#P fasten 22 0 15 0 562 170 549 170;
#P connect 37 0 34 0;
#P connect 34 0 28 0;
#P fasten 29 0 28 0 331 261 463 261;
#P connect 27 0 26 0;
#P fasten 14 2 26 0 359 168 447 168;
#P connect 32 0 25 1;
#P connect 13 0 29 0;
#P fasten 13 0 16 0 331 197 412 197;
#P fasten 25 1 1 1 413 124 389 124;
#P connect 36 0 32 0;
#P connect 13 1 1 0;
#P connect 1 0 2 0;
#P fasten 2 0 5 0 349 258 331 258;
#P fasten 16 0 5 0 412 266 331 266;
#P fasten 15 0 5 0 549 287 331 287;
#P fasten 17 0 5 0 614 307 331 307;
#P connect 26 0 5 0;
#P connect 28 0 5 0;
#P connect 39 0 5 0;
#P connect 14 1 13 0;
#P connect 25 0 14 0;
#P connect 30 0 25 0;
#P connect 41 0 40 0;
#P connect 8 0 4 1;
#P connect 3 1 12 0;
#P connect 11 0 9 0;
#P connect 4 0 3 0;
#P connect 7 0 4 0;
#P connect 21 0 18 0;
#P connect 20 0 21 0;
#P fasten 19 0 20 0 21 257 21 257;
#P connect 18 0 10 0;
#P connect 42 0 6 0;
#P fasten 3 2 6 0 78 105 5 105;
#P connect 3 0 6 0;
#P connect 9 0 6 0;
#P connect 40 0 6 0;
#P window clipboard copycount 43;


September 5, 2008 | 5:56 pm

I’m thinking more MS paint – pen style – drawing.

Using Jit.Gl.Sketch in combination with the mouse position and a lineto message produces a nasty stepped line. Is there any way to make a nicer line than this?

Cheers

Andy


September 5, 2008 | 6:33 pm

I think somewhere deep in the archives is a patch that Nesa wrote to do photoshop-style drawing.

AB


September 5, 2008 | 7:12 pm

I think this is the one Nesa made. Fantastic patch. It was called "Super-simple opengl painting program" or something. Here it is:

#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P comment 246 171 100 196617 brush scale:;
#P comment 603 336 100 196617 a recorder:;
#P button 725 377 15 0;
#P comment 714 357 46 196617 playback;
#P window linecount 2;
#P comment 667 357 31 196617 record;
#P toggle 672 376 15 0;
#P button 619 376 15 0;
#P window linecount 1;
#P comment 615 357 31 196617 clear;
#P button 337 337 15 0;
#P window linecount 2;
#P message 354 386 152 196617 erase_color 1. 1. 1. 1. , erase , bang;
#P window linecount 1;
#P newex 337 360 27 196617 t b b;
#P message 536 67 26 196617 read;
#P window linecount 2;
#P message 247 209 67 196617 scale $1 $1 1.;
#P flonum 247 188 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 434 137 109 196617 jit.matrix 4 char 128 128;
#P window linecount 1;
#N vpatcher 15 55 615 455;
#P window setfont "Sans Serif" 9.;
#P newex 173 72 27 196617 t b f;
#P newex 76 225 92 196617 prepend erase_color;
#P outlet 76 260 15 0;
#P inlet 173 48 15 0;
#P inlet 76 50 15 0;
#P window linecount 1;
#P newex 76 191 125 196617 pack 0. 0. 0. 0.;
#P newex 152 148 34 196617 / 255.;
#P newex 114 148 34 196617 / 255.;
#P window linecount 0;
#P newex 76 148 34 196617 / 255.;
#P newex 76 104 87 196617 unpack 0 0 0;
#P connect 5 0 0 0;
#P fasten 9 0 0 0 178 98 81 98;
#P connect 0 0 1 0;
#P connect 1 0 4 0;
#P connect 4 0 8 0;
#P connect 8 0 7 0;
#P connect 0 1 2 0;
#P connect 2 0 4 1;
#P connect 0 2 3 0;
#P connect 3 0 4 2;
#P connect 6 0 9 0;
#P connect 9 1 4 3;
#P pop;
#P newobj 163 368 124 196617 p format_erase_color;
#P user swatch 163 317 110 43;
#P window linecount 2;
#P message 163 210 74 196617 color 1. 1. 1. $1;
#P toggle 118 49 15 0;
#P toggle 73 49 15 0;
#P message 118 69 74 196617 doublebuffer $1;
#P window linecount 1;
#P newex 591 103 19 196617 t b;
#P message 73 69 42 196617 sync $1;
#P user swatch 609 32 155 61;
#N vpatcher 135 118 623 512;
#P inlet 393 142 15 0;
#P window setfont "Sans Serif" 9.;
#P newex 58 208 345 196617 jit.expr @precision char @expr "255-in[0].p[1]" "in[1].p[0]" "in[1].p[1]" "in[1].p[2]";
#P outlet 58 299 15 0;
#P inlet 58 29 15 0;
#P connect 0 0 2 0;
#P connect 2 0 1 0;
#P connect 3 0 2 1;
#P pop;
#P newobj 434 234 185 196617 p alpha&color;
#P flonum 277 332 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 163 189 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P user jit.pwindow 446 162 66 66 0 1 0 0 1 0;
#P user gswitch 94 347 41 32 1 0;
#P window linecount 2;
#P message 434 63 69 196617 frame $1 , bang;
#P number 434 32 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 506 32 89 196617 read brushtips.mov;
#P newex 434 103 148 196617 jit.qt.movie 128 128 @autostart 0;
#P newex 434 261 149 196617 jit.gl.texture out @name brushtips;
#P window linecount 3;
#P newex 131 247 239 196617 jit.gl.gridshape out @depth_enable 0 @cull_face 0 @shape plane @texture brushtips @blend_enable 1 @color 1. 1. 1. 0.5 @scale 0.1 0.1 1.;
#P window linecount 1;
#P newex 67 158 52 196617 t b l erase;
#P message 14 70 55 196617 floating $1;
#P toggle 14 49 15 0;
#P newex 67 423 213 196617 jit.gl.render out @erase_color 1. 1. 1. 0.01;
#P newex 14 98 133 196617 jit.window out @floating 1;
#N vpatcher 15 55 462 370;
#P window setfont "Sans Serif" 9.;
#P window linecount 0;
#P newex 10 190 28 196617 r coll;
#P newex 148 265 52 196617 s mcoords;
#P newex 50 218 50 196617 pack 0. 0.;
#P newex 193 135 27 196617 / 2.;
#P newex 149 135 27 196617 / 2.;
#P newex 149 76 54 196617 unpack 0 0;
#P message 248 103 37 196617 getsize;
#P newex 248 76 64 196617 select update;
#P newex 90 193 30 196617 !- 1.;
#P newex 50 193 30 196617 – 1.;
#P newex 50 76 50 196617 unpack;
#P newex 90 168 35 196617 / 120.;
#P newex 50 168 35 196617 / 160.;
#P newex 50 50 208 196617 route mouse size;
#P inlet 50 30 15 0;
#P outlet 248 264 15 0;
#P outlet 50 264 15 0;
#P window linecount 1;
#P message 50 242 83 196617 position $1 $2 0;
#P connect 3 0 4 0;
#P connect 4 0 7 0;
#P connect 7 0 5 0;
#P connect 5 0 8 0;
#P connect 8 0 15 0;
#P connect 15 0 0 0;
#P fasten 17 0 0 0 15 240 55 240;
#P connect 0 0 1 0;
#P fasten 13 0 5 1 154 161 80 161;
#P connect 7 1 6 0;
#P connect 6 0 9 0;
#P connect 9 0 15 1;
#P fasten 14 0 6 1 198 165 120 165;
#P fasten 15 0 16 0 55 239 153 239;
#P connect 4 1 12 0;
#P connect 12 0 13 0;
#P connect 12 1 14 0;
#P connect 4 2 10 0;
#P connect 10 0 11 0;
#P connect 11 0 2 0;
#P pop;
#P newobj 67 130 60 196617 p stuff;
#N vpatcher 15 55 532 423;
#P window setfont "Sans Serif" 9.;
#P newex 69 125 45 196617 loadbang;
#P flonum 119 101 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P window linecount 1;
#P message 119 126 79 196617 scale $1 $1 , bang;
#P newex 87 171 349 196617 jit.bfg 1 char 128 128 @basis noise.gradient @scale 4.15 4.15 @precision float32;
#P newex 87 202 250 196617 jit.expr @expr "1-(2*sin(norm[0]*PI)*sin(norm[1]*PI)*in[0])";
#P outlet 87 231 15 0;
#P window linecount 0;
#P comment 441 334 58 196617 coruscant;
#P fasten 4 0 3 0 124 157 92 157;
#P fasten 6 0 3 0 74 157 92 157;
#P connect 3 0 2 0;
#P connect 2 0 1 0;
#P connect 5 0 4 0;
#P pop;
#P newobj 371 104 54 196617 p genbrush;
#B color 5;
#N vpatcher 15 55 391 430;
#P inlet 186 43 15 0;
#P inlet 105 43 15 0;
#P inlet 53 43 15 0;
#P window setfont "Sans Serif" 9.;
#P newex 147 313 96 196617 print "playback done";
#P newex 105 285 43 196617 deferlow;
#P window linecount 1;
#P newex 105 136 27 196617 gate;
#P newex 105 313 30 196617 s coll;
#P message 186 77 31 196617 dump;
#P message 53 167 29 196617 set 0;
#P newex 53 140 42 196617 t b clear;
#P newex 122 110 50 196617 r mcoords;
#P newex 105 226 67 196617 pack 0 0. 0.;
#P newex 105 163 49 196617 t b 1 l;
#P newex 105 196 49 196617 accum;
#N coll ;
#T flags 1 0;
#T 1 -0.0125 0.675;
#T 2 -0.025 0.675;
#T 3 -0.03125 0.675;
#T 4 -0.03125 0.691667;
#T 5 -0.05 0.691667;
#T 6 -0.0625 0.691667;
#T 7 -0.06875 0.691667;
#T 8 -0.10625 0.691667;
#T 9 -0.15 0.691667;
#T 10 -0.2125 0.683333;
#T 11 -0.31875 0.625;
#T 12 -0.39375 0.558333;
#T 13 -0.475 0.483333;
#T 14 -0.54375 0.391667;
#T 15 -0.5875 0.325;
#T 16 -0.61875 0.258333;
#T 17 -0.6375 0.191667;
#T 18 -0.6375 0.116667;
#T 19 -0.6375 0.033333;
#T 20 -0.6375 -0.041667;
#T 21 -0.6375 -0.133333;
#T 22 -0.6125 -0.241667;
#T 23 -0.56875 -0.391667;
#T 24 -0.525 -0.475;
#T 25 -0.45625 -0.541667;
#T 26 -0.39375 -0.591667;
#T 27 -0.30625 -0.641667;
#T 28 -0.2375 -0.658333;
#T 29 -0.15 -0.666667;
#T 30 -0.05 -0.675;
#T 31 0.04375 -0.675;
#T 32 0.1375 -0.658333;
#T 33 0.26875 -0.616667;
#T 34 0.3375 -0.583333;
#T 35 0.4 -0.533333;
#T 36 0.45 -0.475;
#T 37 0.5125 -0.341667;
#T 38 0.53125 -0.291667;
#T 39 0.5375 -0.258333;
#T 40 0.5625 -0.141667;
#T 41 0.5625 -0.108333;
#T 42 0.56875 0.;
#T 43 0.56875 0.075;
#T 44 0.55625 0.125;
#T 45 0.5375 0.2;
#T 46 0.5125 0.266667;
#T 47 0.49375 0.325;
#T 48 0.46875 0.391667;
#T 49 0.43125 0.441667;
#T 50 0.39375 0.5;
#T 51 0.35 0.558333;
#T 52 0.30625 0.608333;
#T 53 0.26875 0.641667;
#T 54 0.2125 0.691667;
#T 55 0.13125 0.725;
#T 56 0.06875 0.741667;
#T 57 0.00625 0.758333;
#T 58 -0.04375 0.758333;
#T 59 -0.08125 0.75;
#T 60 -0.1 0.741667;
#T 61 -0.1625 0.383333;
#T 62 -0.175 0.383333;
#T 63 -0.18125 0.383333;
#T 64 -0.1875 0.383333;
#T 65 -0.19375 0.383333;
#T 66 -0.20625 0.383333;
#T 67 -0.225 0.375;
#T 68 -0.2625 0.358333;
#T 69 -0.29375 0.325;
#T 70 -0.31875 0.308333;
#T 71 -0.3375 0.266667;
#T 72 -0.35 0.216667;
#T 73 -0.3625 0.166667;
#T 74 -0.375 0.108333;
#T 75 -0.375 0.075;
#T 76 -0.3625 0.033333;
#T 77 -0.33125 -0.033333;
#T 78 -0.3 -0.058333;
#T 79 -0.23125 -0.091667;
#T 80 -0.21875 -0.091667;
#T 81 -0.19375 -0.091667;
#T 82 -0.1625 -0.091667;
#T 83 -0.1375 -0.066667;
#T 84 -0.10625 -0.033333;
#T 85 -0.06875 0.008333;
#T 86 -0.0625 0.05;
#T 87 -0.05625 0.1;
#T 88 -0.05625 0.158333;
#T 89 -0.05625 0.2;
#T 90 -0.06875 0.233333;
#T 91 -0.0875 0.266667;
#T 92 -0.1 0.291667;
#T 93 -0.11875 0.308333;
#T 94 -0.125 0.316667;
#T 95 0.19375 0.308333;
#T 96 0.18125 0.308333;
#T 97 0.175 0.308333;
#T 98 0.16875 0.308333;
#T 99 0.1625 0.308333;
#T 100 0.15625 0.308333;
#T 101 0.15 0.3;
#T 102 0.1375 0.283333;
#T 103 0.1 0.233333;
#T 104 0.06875 0.191667;
#T 105 0.04375 0.15;
#T 106 0.025 0.091667;
#T 107 0.0125 0.041667;
#T 108 0.0125 -0.008333;
#T 109 0.0125 -0.05;
#T 110 0.03125 -0.091667;
#T 111 0.05 -0.133333;
#T 112 0.06875 -0.158333;
#T 113 0.1 -0.175;
#T 114 0.15 -0.191667;
#T 115 0.2125 -0.191667;
#T 116 0.225 -0.191667;
#T 117 0.2375 -0.175;
#T 118 0.30625 -0.083333;
#T 119 0.3125 -0.05;
#T 120 0.33125 0.041667;
#T 121 0.33125 0.066667;
#T 122 0.33125 0.1;
#T 123 0.33125 0.183333;
#T 124 0.31875 0.241667;
#T 125 0.3 0.283333;
#T 126 0.29375 0.308333;
#T 127 0.275 0.325;
#T 128 0.25625 0.341667;
#T 129 0.24375 0.341667;
#T 130 0.225 0.341667;
#T 131 0.1875 0.341667;
#T 132 0.15625 0.325;
#T 133 -0.175 0.133333;
#T 134 -0.175 0.125;
#T 135 -0.175 0.116667;
#T 136 -0.1875 0.116667;
#T 137 -0.1875 0.133333;
#T 138 -0.1875 0.133333;
#T 139 0.11875 0.041667;
#T 140 0.11875 0.058333;
#T 141 0.11875 0.058333;
#T 142 -0.39375 -0.225;
#T 143 -0.39375 -0.233333;
#T 144 -0.3875 -0.233333;
#T 145 -0.3875 -0.241667;
#T 146 -0.38125 -0.25;
#T 147 -0.375 -0.266667;
#T 148 -0.3625 -0.291667;
#T 149 -0.34375 -0.325;
#T 150 -0.33125 -0.366667;
#T 151 -0.275 -0.425;
#T 152 -0.2625 -0.45;
#T 153 -0.24375 -0.458333;
#T 154 -0.2125 -0.491667;
#T 155 -0.18125 -0.508333;
#T 156 -0.14375 -0.516667;
#T 157 -0.10625 -0.525;
#T 158 -0.05625 -0.525;
#T 159 0.01875 -0.525;
#T 160 0.04375 -0.508333;
#T 161 0.075 -0.508333;
#T 162 0.09375 -0.491667;
#T 163 0.10625 -0.466667;
#T 164 0.11875 -0.45;
#T 165 0.13125 -0.433333;
#T 166 0.13125 -0.416667;
#T 167 0.1375 -0.4;
#T 168 0.14375 -0.391667;
#T 169 0.14375 -0.375;
#T 170 0.14375 -0.366667;
#T 171 0.15 -0.366667;
#T 172 0.15 -0.366667;
#T 173 -0.3625 0.25;
#T 174 -0.36875 0.25;
#T 175 -0.375 0.25;
#T 176 -0.38125 0.25;
#T 177 -0.3875 0.25;
#T 178 -0.4 0.25;
#T 179 -0.4625 0.25;
#T 180 -0.51875 0.25;
#T 181 -0.5875 0.25;
#T 182 -0.64375 0.25;
#T 183 -0.69375 0.241667;
#T 184 -0.7375 0.233333;
#T 185 -0.7625 0.233333;
#T 186 -0.79375 0.233333;
#T 187 -0.8125 0.233333;
#T 188 -0.825 0.233333;
#T 189 -0.825 0.233333;
#T 190 0.29375 0.175;
#T 191 0.3 0.175;
#T 192 0.30625 0.175;
#T 193 0.31875 0.166667;
#T 194 0.325 0.166667;
#T 195 0.33125 0.166667;
#T 196 0.35 0.166667;
#T 197 0.375 0.158333;
#T 198 0.41875 0.15;
#T 199 0.4625 0.141667;
#T 200 0.5125 0.125;
#T 201 0.58125 0.108333;
#T 202 0.61875 0.108333;
#T 203 0.63125 0.1;
#T 204 0.6375 0.1;
#T 205 0.64375 0.1;
#T 206 0.65 0.1;
#T 207 0.65 0.1;
#P newobj 105 257 53 196617 coll;
#P window linecount 0;
#P comment 239 253 100 196617 records all mouse;
#P comment 239 272 100 196617 movements to coll;
#P connect 14 0 7 0;
#P connect 7 0 8 0;
#P connect 15 0 11 0;
#P connect 11 0 4 0;
#P connect 8 0 3 0;
#P connect 4 0 3 0;
#P connect 3 0 5 0;
#P connect 5 0 2 0;
#P fasten 9 0 2 0 191 250 110 250;
#P fasten 7 1 2 0 90 250 110 250;
#P connect 2 0 12 0;
#P connect 12 0 10 0;
#P connect 6 0 11 1;
#P connect 4 1 3 1;
#P fasten 4 2 5 1 148 188 138 188;
#P connect 2 3 13 0;
#P connect 16 0 9 0;
#P pop;
#P newobj 619 401 116 196617 p record2coll;
#B color 5;
#P comment 353 338 100 196617 erase screen;
#P comment 703 343 100 196617 check this out:;
#P comment 690 269 78 196617 brush options;
#P user panel 363 24 409 264;
#X brgb 178 198 148;
#X frgb 0 0 0;
#X border 1;
#X rounded 0;
#X shadow 0;
#X done;
#P user panel 599 333 173 99;
#X brgb 204 219 194;
#X frgb 0 0 0;
#X border 1;
#X rounded 0;
#X shadow 0;
#X done;
#P comment 14 9 100 196617 use mouse to draw;
#P comment 14 23 100 196617 into jit.window;
#P comment 734 474 47 196617 np2005;
#P comment 163 171 100 196617 brush opacity:;
#P comment 203 302 100 196617 bkg color?:;
#P connect 50 0 10 2;
#P connect 47 0 10 1;
#P connect 46 0 10 0;
#P connect 29 0 28 1;
#P fasten 29 0 31 0 614 98 596 98;
#P connect 38 0 28 0;
#P fasten 38 0 25 0 439 158 452 158;
#P connect 28 0 19 0;
#P connect 20 0 38 0;
#P fasten 31 0 38 0 596 127 439 127;
#P fasten 11 0 38 0 376 130 439 130;
#P connect 23 0 20 0;
#P fasten 21 0 20 0 511 94 439 94;
#P fasten 41 0 20 0 541 94 439 94;
#P connect 22 0 23 0;
#P connect 42 1 43 0;
#P connect 44 0 42 0;
#P connect 27 0 37 1;
#P fasten 42 0 27 0 342 382 316 382 316 324 282 324;
#P lcolor 1;
#P connect 39 0 40 0;
#P connect 36 0 37 0;
#P connect 26 0 35 0;
#P fasten 40 0 18 0 252 235 136 235;
#P fasten 35 0 18 0 168 235 136 235;
#P fasten 17 1 18 0 93 195 136 216;
#P lcolor 13;
#P connect 34 0 32 0;
#P connect 17 2 24 1;
#P connect 33 0 30 0;
#P fasten 24 0 14 0 99 387 72 387;
#P connect 17 0 14 0;
#P fasten 37 0 14 0 168 392 72 392;
#P fasten 43 0 14 0 359 409 72 409;
#P connect 12 0 17 0;
#P fasten 13 1 12 0 123 123 72 123;
#P fasten 12 1 13 0 122 153 142 153 142 92 19 92;
#P fasten 30 0 13 0 78 92 19 92;
#P fasten 16 0 13 0 19 92 19 92;
#P fasten 32 0 13 0 123 92 19 92;
#P connect 15 0 16 0;
#P window clipboard copycount 53;

There’s also "jsui_spherepen-example.pat"


September 5, 2008 | 11:14 pm

That is so much better. With a bit of tweaking it can be made to look pretty good.

Cheers for that. Big help.

Andy


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