[jitter] 2d sequencers
yair reshef
yair99 at gmail.com
Fri Oct 12 00:51:57 MDT 2007
- Previous message: [jitter] 2d sequencers
- Next message: [jitter] Re: 2d sequencers
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
vvvcool! On 10/11/07, evan.raskob [lists] <lists at lowfrequency.org> wrote: > > aaarrrrgh!!! > > i was going to be so productive today to, darn you. but now i got > distracted and did this (with an example patch of mine for drawing in > a matrix tacked on) > > > max v2; > #N vpatcher 572 61 1448 785; > #P origin 0 -26; > #P window setfont "Sans Serif" 12.; > #P window linecount 1; > #P comment 362 114 350 196620 click in the pwindow to draw on a 32 x > 32 matrix in color; > #P comment 575 299 92 196620 (color values); > #P window setfont "Sans Serif" 9.; > #P comment 687 432 26 196617 row; > #P number 576 432 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; > #P number 648 432 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; > #P comment 105 627 139 196617 evan.raskob at coventry.ac.uk; > #P comment 105 581 100 196617 by Evan Raskob; > #P comment 105 597 100 196617 Coventry University; > #P window setfont "Sans Serif" 12.; > #N vpatcher 20 74 620 474; > #P origin 16 -23; > #P window setfont "Sans Serif" 12.; > #P window linecount 2; > #P comment 237 324 144 196620 display window is 4X larger than our > martix; > #P window linecount 1; > #P newex 22 215 86 196620 buddy 3; > #P newex 22 331 39 196620 sel 1; > #P newex 201 330 33 196620 / 4.; > #P newex 164 330 33 196620 / 4.; > #P comment 402 160 59 196620 Mac ctrl; > #P comment 338 160 57 196620 opt/ alt; > #P comment 294 159 38 196620 caps; > #P comment 249 159 39 196620 shift; > #P window linecount 2; > #P comment 181 158 70 196620 Mac cmd/ Win ctrl; > #P window linecount 1; > #P comment 77 159 32 196620 x \, y; > #P number 402 139 31 12 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; > #P number 353 139 31 12 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; > #P number 294 138 31 12 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; > #P number 250 136 31 12 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; > #P number 193 136 31 12 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; > #P number 141 138 31 12 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; > #P number 98 138 35 12 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; > #P number 61 138 35 12 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; > #P newex 80 104 308 196620 unpack 0 0 0 0 0 0 0 0; > #P newex 80 78 149 196620 route mouse mouseidle; > #P comment 133 159 50 196620 button; > #N comlet mouse data in from jit.pwindow; > #P inlet 80 45 15 0; > #P outlet 22 358 15 0; > #P outlet 164 357 15 0; > #P outlet 201 357 15 0; > #P window linecount 0; > #P comment 32 280 100 196620 set the color when mouse is down (==1); > #P comment 294 32 248 196620 This subpatcher handles mouse > information from the jit.pwindow object; > #B frgb 207 9 255; > #P user panel 267 0 292 73; > #X brgb 223 223 223; > #X frgb 0 0 0; > #X border 0; > #X rounded 0; > #X shadow 0; > #X done; > #P fasten 12 0 27 0 146 187 27 187; > #P lcolor 2; > #P connect 27 0 26 0; > #P connect 26 0 5 0; > #P connect 10 0 27 1; > #P fasten 9 0 10 0 85 130 66 130; > #P connect 6 0 8 0; > #P fasten 8 1 9 0 154 99 85 99; > #P connect 8 0 9 0; > #P fasten 9 1 11 0 127 130 103 130; > #P connect 11 0 27 2; > #P fasten 9 2 12 0 169 130 146 130; > #P fasten 27 1 24 0 65 260 169 260; > #P connect 24 0 4 0; > #P fasten 9 3 13 0 211 130 198 130; > #P fasten 27 2 25 0 103 256 206 256; > #P connect 25 0 3 0; > #P fasten 9 4 14 0 253 130 255 130; > #P fasten 9 5 15 0 295 130 299 130; > #P fasten 9 6 16 0 337 130 358 130; > #P fasten 9 7 17 0 379 130 407 130; > #P pop; > #P newobj 484 404 161 196620 p handleMouseData; > #P window linecount 2; > #P comment 569 159 173 196620 click in the boxes and type a number > from 0-255; > #P window setfont "Sans Serif" 18.; > #P window linecount 1; > #P message 422 142 105 196626 clear \, bang; > #P window setfont "Sans Serif" 12.; > #P newex 362 148 50 196620 t b l; > #P window setfont "Sans Serif" 18.; > #P number 593 263 54 18 0 255 3 3 0 0 0 153 153 255 222 222 222 0 0 0; > #P number 593 196 54 18 0 255 3 3 0 0 0 255 156 156 222 222 222 0 0 0; > #P number 593 229 54 18 0 255 3 3 0 0 0 74 156 97 222 222 222 0 0 0; > #P window setfont "Sans Serif" 12.; > #P newex 574 467 226 196620 pack setcell 0 0 val 0 0 0 0; > #P newex 362 182 190 196620 jit.matrix colors 4 char 32 32; > #P user jit.pwindow 365 209 130 130 0 1 1 0 1 0; > #P window setfont "Sans Serif" 9.; > #P comment 495 384 77 196617 mouse drawing; > #P user panel 563 154 202 208; > #X brgb 239 239 239; > #X frgb 214 0 0; > #X border 2; > #X rounded 0; > #X shadow 0; > #X done; > #P user panel 98 574 155 70; > #X brgb 193 210 186; > #X frgb 99 99 99; > #X border 1; > #X rounded 0; > #X shadow 0; > #X done; > #P comment 613 432 21 196617 col; > #P newex 71 194 66 196617 jit.rgb2luma; > #P button 185 85 15 0; > #P newex 71 168 148 196617 jit.matrix colors 4 char 32 32; > #P newex 148 393 40 196617 noteout; > #P newex 148 366 38 196617 pack; > #P newex 148 310 38 196617 unpack; > #P newex 148 284 60 196617 listfunnel; > #P newex 148 337 27 196617 + 36; > #P newex 205 129 40 196617 t i b i; > #P newex 148 257 122 196617 jit.spill @outputmode 1; > #P number 279 196 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; > #P toggle 205 65 15 0; > #P newex 205 84 64 196617 qmetro 100; > #N counter 0 31; > #X flags 0 0; > #P newobj 205 107 66 196617 counter 0 31; > #P message 206 197 63 196617 offset \$1 0; > #P user jit.pwindow 278 258 34 130 0 1 0 0 1 0; > #P newex 188 225 126 196617 jit.submatrix @dim 1 32; > #P connect 8 1 14 0; > #P connect 14 0 16 0; > #P connect 0 0 7 0; > #P connect 7 0 10 0; > #P connect 10 0 11 0; > #P connect 11 0 9 0; > #P connect 9 0 12 0; > #P connect 12 0 13 0; > #P connect 11 1 12 1; > #P connect 16 0 0 0; > #P fasten 2 0 0 0 211 219 193 219; > #P connect 5 0 4 0; > #P connect 4 0 3 0; > #P connect 15 0 3 0; > #P connect 3 0 8 0; > #P fasten 8 2 2 0 240 189 211 189; > #P fasten 8 2 6 0 240 189 284 189; > #P fasten 0 0 1 0 193 245 284 245; > #P fasten 23 0 27 0 579 498 355 498 355 144 367 144; > #P fasten 28 0 22 0 427 176 367 176; > #P fasten 27 1 22 0 407 176 367 176; > #P connect 27 0 22 0; > #P connect 22 0 21 0; > #P connect 21 1 30 0; > #P fasten 30 0 23 0 489 461 579 461; > #P connect 30 1 35 0; > #P fasten 30 1 23 1 564 454 609 454; > #P connect 30 2 23 2; > #P connect 30 2 34 0; > #P fasten 25 0 23 5 598 217 729 217; > #P lcolor 2; > #P fasten 24 0 23 6 598 251 759 251; > #P lcolor 2; > #P fasten 26 0 23 7 598 291 789 291; > #P lcolor 2; > #P pop; > > _______________________________________________ > jitter mailing list > jitter at cycling74.com > http://www.cycling74.com/mailman/listinfo/jitter > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.cycling74.com/pipermail/jitter/attachments/20071011/7fa6b2b1/attachment.htm
- Previous message: [jitter] 2d sequencers
- Next message: [jitter] Re: 2d sequencers
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
