aboutsummaryrefslogtreecommitdiff
path: root/Gem/sphere-help.pd
blob: a7f6bfdf5a76f9195959f98af3230abb189bc1aa (plain)
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
#N canvas 274 73 663 374 10;
#X declare -lib Gem;
#X text 54 30 Class: geometric object;
#X obj 479 47 cnv 15 170 270 empty empty empty 20 12 0 14 -228992 -66577
0;
#X obj 485 252 cnv 15 100 60 empty empty empty 20 12 0 14 -195568 -66577
0;
#N canvas 0 22 450 300 gemwin 0;
#X obj 132 136 gemwin;
#X obj 67 89 outlet;
#X obj 67 10 inlet;
#X obj 67 41 route create;
#X msg 67 70 set destroy;
#X msg 142 68 set create;
#X msg 198 112 destroy;
#X msg 132 112 create \, 1;
#X connect 2 0 3 0;
#X connect 3 0 4 0;
#X connect 3 0 7 0;
#X connect 3 1 5 0;
#X connect 3 1 6 0;
#X connect 4 0 1 0;
#X connect 5 0 1 0;
#X connect 6 0 0 0;
#X connect 7 0 0 0;
#X restore 490 291 pd gemwin;
#X msg 490 272 create;
#X text 486 251 Create window:;
#X text 485 29 Example:;
#X obj 7 65 cnv 15 450 80 empty empty empty 20 12 0 14 -233017 -66577
0;
#X obj 8 216 cnv 15 450 100 empty empty empty 20 12 0 14 -233017 -66577
0;
#X text 9 221 Inlets:;
#X obj 8 154 cnv 15 450 50 empty empty empty 20 12 0 14 -195568 -66577
0;
#X text 17 153 Arguments:;
#X text 27 247 Inlet 1: message: draw [line|fill|point];
#X text 27 261 Inlet 2: float: size;
#X text 452 8 GEM object;
#X text 27 233 Inlet 1: gemlist;
#X text 9 287 Outlets:;
#X text 21 300 Outlet 1: gemlist;
#X obj 486 184 cnv 15 130 60 empty empty empty 20 12 0 14 -24198 -66577
0;
#X msg 506 88 draw line;
#X msg 512 111 draw fill;
#X msg 519 132 draw point;
#X obj 497 59 gemhead;
#X floatatom 519 187 3 0 0 0 - - -;
#X text 542 186 size;
#X floatatom 542 204 3 0 0 0 - - -;
#X text 565 203 segments;
#X text 27 272 Inlet 3: int: number of segments;
#X text 33 14 Synopsis: [sphere];
#X text 16 69 Description: Renders a sphere.;
#X text 30 85 The sphere object renders a segmented sphere at the current
position with current color. The look of the sphere can be changed
with the draw message \, its size can be changed via the second inlet.
;
#X obj 497 222 sphere 1;
#X text 35 168 size of the sphere \, segments;
#X text 34 184 defaults: 1 \, 10;
#X text 33 330 see also:;
#X obj 102 331 sphere3d;
#X obj 548 8 declare -lib Gem;
#X connect 3 0 4 0;
#X connect 4 0 3 0;
#X connect 19 0 31 0;
#X connect 20 0 31 0;
#X connect 21 0 31 0;
#X connect 22 0 31 0;
#X connect 23 0 31 1;
#X connect 25 0 31 2;