-
Notifications
You must be signed in to change notification settings - Fork 4
/
02-Gem.pd
36 lines (36 loc) · 1.36 KB
/
02-Gem.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
#N canvas 557 119 477 617 10;
#X declare -lib Gem;
#X obj 28 8 cnv 15 400 50 empty empty 2 14 24 0 24 -175655 -66577 0
;
#X obj 37 345 gemwin;
#X msg 37 289 create \, 1;
#X msg 45 315 0 \, destroy;
#X text 127 314 stop rendering and close the window;
#X text 34 201 Note: you can send more than one message with one message
box when seperated by comma and space.;
#X msg 35 237 create \, 1;
#X text 103 237 is the same like;
#X msg 207 237 create;
#X text 257 237 +;
#X msg 273 237 1;
#X text 33 396 Challenge:;
#X text 42 450 Menu -> Help -> Browser -> 5.reference -> Gem -> gemwin
;
#X text 33 66 Gem is a graphics library for Pure Data.;
#X text 32 166 In order to use Gem we need to open a window to see
its output and tell Gem to start rendering.;
#X text 42 411 read the helpfile for gemwin and find out how to set
the framerate and size of the window. You can open the helpfile with
rightclick-help on the object or by navigating to it:;
#X text 34 81 There are other graphics librarys like Gridflow \, PDP
and PiDiP.;
#X text 127 280 a sequence of two messages in one messagebox to create
a window and start rendering;
#X obj 33 144 declare -lib Gem;
#X text 32 110 To tell Pd to load the Gem library we need to declare
it for the current patch:;
#X text 33 550 Max Neupert \, GMU - Bauhaus-Universität Weimar 2008
;
#X text 75 16 Pure Data + Gem;
#X connect 2 0 1 0;
#X connect 3 0 1 0;