-
Notifications
You must be signed in to change notification settings - Fork 2
/
of.bezier-help.pd
58 lines (58 loc) · 1.69 KB
/
of.bezier-help.pd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#N canvas 601 166 633 380 12;
#X declare -lib ofelia;
#X obj 9 10 cnv 15 600 60 empty empty empty 20 12 0 14 -233017 -66577
0;
#X obj 27 99 of.draw;
#X floatatom 85 239 5 0 0 2 x1 - -;
#X floatatom 130 238 5 0 0 2 y1 - -;
#X text 402 89 list of all parameters;
#X text 419 144 Single parameter;
#X msg 110 104 stroke 10;
#X floatatom 176 238 5 0 0 2 z1 - -;
#X obj 462 45 declare -lib ofelia;
#X floatatom 222 238 5 0 0 2 x4 - -;
#X floatatom 266 238 5 0 0 2 y4 - -;
#X floatatom 312 239 5 0 0 2 z4 - -;
#X msg 200 106 position 0 100 -100;
#X msg 200 150 scale 1 2 2;
#X text 108 85 style;
#X text 199 84 transformation;
#X msg 423 165 x1 50;
#X msg 200 128 orientation 45 0 45;
#X msg 437 214 debug \$1;
#X obj 437 193 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X text 457 191 Show center axis;
#X msg 200 172 lookat 180 120 60;
#X msg 110 128 draw line;
#X msg 110 150 draw point;
#X msg 110 172 draw fill;
#X text 25 20 Draw a Bezier Shape;
#X obj 403 270 of.bezier, f 21;
#X obj 27 271 of.bezier -100 100 0 0 0 0 0 0 0 100 -100 0 line 2;
#X msg 403 106 -100 100 0 0 100 0 100 0 0 -100 0 0 line 10, f 28;
#X text 24 40 Args X1 \, Y1 \, Z1 \, ... x4 \, y4 \, z4 \, drawmode
\, stroke;
#X obj 518 19 of.window 1;
#X obj 497 21 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X connect 1 0 27 0;
#X connect 2 0 27 1;
#X connect 3 0 27 2;
#X connect 6 0 27 0;
#X connect 7 0 27 3;
#X connect 9 0 27 10;
#X connect 10 0 27 11;
#X connect 11 0 27 12;
#X connect 12 0 27 0;
#X connect 13 0 27 0;
#X connect 16 0 26 0;
#X connect 17 0 27 0;
#X connect 18 0 26 0;
#X connect 19 0 18 0;
#X connect 21 0 27 0;
#X connect 22 0 27 0;
#X connect 23 0 27 0;
#X connect 24 0 27 0;
#X connect 28 0 26 0;
#X connect 31 0 30 0;