Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
purr-data
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nerrons
purr-data
Commits
f008c775
Commit
f008c775
authored
9 years ago
by
Jonathan Wilkes
Browse files
Options
Downloads
Patches
Plain Diff
use the new svg events
parent
37926144
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
pd/doc/4.data.structures/pd-l2ork/ds-demos/bulbs.pd
+51
-50
51 additions, 50 deletions
pd/doc/4.data.structures/pd-l2ork/ds-demos/bulbs.pd
with
51 additions
and
50 deletions
pd/doc/4.data.structures/pd-l2ork/ds-demos/bulbs.pd
+
51
−
50
View file @
f008c775
#N struct bulb float x float y float r float g float b float a float
#N struct bulb float x float y float r float g float b float a float
s;
s;
#N canvas 0 48 650 529 10;
#N canvas 199 68 650 527 10;
#N canvas 644 19 538 195 bulb 0;
#X obj 350 170 random 255;
#X obj 87 87 loadbang;
#X obj 420 170 random 255;
#X obj 87 57 outlet;
#X obj 490 170 random 255;
#X obj 350 134 trigger bang bang bang anything;
#X obj 350 240 set bulb r g b a s;
#X scalar bulb 37 89 50 26 143 1 2 \;;
#X scalar bulb 207 89 141 98 156 1 2 \;;
#X scalar bulb 117 89 221 41 109 1 2 \;;
#X scalar bulb 37 189 147 213 194 1 2 \;;
#X scalar bulb 204 187 147 213 194 1 2 \;;
#X scalar bulb 117 189 162 230 120 1 2 \;;
#X scalar bulb 37 289 107 163 157 1 2 \;;
#X scalar bulb 207 289 2 197 206 1 2 \;;
#X scalar bulb 117 289 125 4 42 1 2 \;;
#X scalar bulb 287 289 22 49 33 1 2 \;;
#X scalar bulb 467 289 105 204 27 1 2 \;;
#X scalar bulb 377 289 224 181 45 1 2 \;;
#X scalar bulb 37 -11 36 28 222 1 2 \;;
#X scalar bulb 207 -11 122 187 225 1 2 \;;
#X scalar bulb 117 -11 103 152 169 1 2 \;;
#X obj 399 112 set bulb s a;
#X obj 350 211 pack f f f 0.3 5;
#X msg 399 91 2 1 \$1;
#X text 76 426 Light Bulbs;
#X text 76 426 ___________;
#X text 76 446 This is just a quick demo to show enter/leave functionality
for scalars.;
#X obj 350 66 route mouseover mouseout;
#X obj 564 168 unpack p;
#N canvas 231 69 538 264 bulb 0;
#X obj 87 77 loadbang;
#X obj 87 21 struct bulb float x float y float r float g float b float
#X obj 87 21 struct bulb float x float y float r float g float b float
a float s;
a float s;
#N canvas 537 133 450 300 (subpatch) 0;
#N canvas 537 133 450 300 (subpatch) 0;
...
@@ -36,51 +64,24 @@ a float s;
...
@@ -36,51 +64,24 @@ a float s;
#X msg 34 102 fill r g b a \, stroke-width s \, stroke r g b;
#X msg 34 102 fill r g b a \, stroke-width s \, stroke r g b;
#X connect 0 0 20 0;
#X connect 0 0 20 0;
#X connect 20 0 1 0;
#X connect 20 0 1 0;
#X restore 87 128 group;
#X restore 88 133 group;
#X msg 88 108 transform scale 0.5 \, fill none \, stroke black;
#X obj 88 154 outlet;
#X msg 88 98 transform scale 0.5 \, fill none \, stroke black \, mouseover
1 \, mouseout 1;
#X connect 0 0 4 0;
#X connect 0 0 4 0;
#X connect 2 0
1
0;
#X connect 2 0
3
0;
#X connect 4 0
3
0;
#X connect 4 0
2
0;
#X restore 350 42 pd bulb;
#X restore 350 42 pd bulb;
#X obj 350 66 route enter leave;
#X connect 0 0 21 0;
#X obj 350 170 random 255;
#X connect 1 0 21 1;
#X obj 420 170 random 255;
#X connect 2 0 21 2;
#X obj 490 170 random 255;
#X connect 3 0 0 0;
#X obj 350 134 trigger bang bang bang anything;
#X connect 3 1 1 0;
#X obj 564 168 t a;
#X connect 3 2 2 0;
#X obj 350 240 set bulb r g b a s;
#X connect 3 3 27 0;
#X scalar bulb 37 89 125 47 144 1 2 \;;
#X connect 21 0 4 0;
#X scalar bulb 207 89 184 112 128 1 2 \;;
#X connect 22 0 20 0;
#X scalar bulb 117 89 2 197 206 1 2 \;;
#X connect 26 0 3 0;
#X scalar bulb 37 189 147 213 194 1 2 \;;
#X connect 26 1 22 0;
#X scalar bulb 204 187 141 98 156 1 2 \;;
#X connect 27 0 4 5;
#X scalar bulb 117 189 22 49 33 1 2 \;;
#X connect 28 0 26 0;
#X scalar bulb 37 289 105 204 27 1 2 \;;
#X scalar bulb 207 289 122 187 225 1 2 \;;
#X scalar bulb 117 289 224 181 45 1 2 \;;
#X scalar bulb 287 289 194 27 193 1 2 \;;
#X scalar bulb 467 289 189 236 185 1 2 \;;
#X scalar bulb 377 289 143 169 166 1 2 \;;
#X scalar bulb 37 -11 95 53 41 1 2 \;;
#X scalar bulb 207 -11 94 118 18 1 2 \;;
#X scalar bulb 117 -11 230 65 224 1 2 \;;
#X obj 399 112 set bulb s a;
#X obj 350 211 pack f f f 0.3 5;
#X msg 399 91 2 1 \$1;
#X text 76 426 Light Bulbs;
#X text 76 426 ___________;
#X text 76 446 This is just a quick demo to show enter/leave functionality
for scalars.;
#X connect 0 0 1 0;
#X connect 1 0 5 0;
#X connect 1 1 25 0;
#X connect 2 0 24 0;
#X connect 3 0 24 1;
#X connect 4 0 24 2;
#X connect 5 0 2 0;
#X connect 5 1 3 0;
#X connect 5 2 4 0;
#X connect 5 3 6 0;
#X connect 6 0 7 5;
#X connect 24 0 7 0;
#X connect 25 0 23 0;
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment