Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
purr-data
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
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
brittney allen
purr-data
Commits
1d4a386c
Commit
1d4a386c
authored
9 years ago
by
Jonathan Wilkes
Browse files
Options
Downloads
Patches
Plain Diff
revise piechart demo
parent
3eae3682
No related branches found
No related tags found
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/pieslice.pd
+16
-15
16 additions, 15 deletions
pd/doc/4.data.structures/pd-l2ork/ds-demos/pieslice.pd
with
16 additions
and
15 deletions
pd/doc/4.data.structures/pd-l2ork/ds-demos/pieslice.pd
+
16
−
15
View file @
1d4a386c
#N struct pieslicer float x float y float cx float cy float x1 float
y1 float r float flag float x2 float y2 float r1 float g float b float
s float tx float ty;
#N canvas
0 19
929 640 10;
#N canvas
1 44
929 640 10;
#X scalar pieslicer 380 -50 300 300 500 300 200 1 237.416 489.956 10
80 250 1 0 0 \;;
#X scalar pieslicer 380 -50 300 300 237.416 489.956 200 0 491.793 356.705
...
...
@@ -96,18 +96,15 @@ cy + r * sin(-1 * endangle * rad) \; (endangle - startangle) > 180
#X floatatom 139 474 0 0 0 0 cy - -;
#X floatatom 184 474 5 0 0 0 r - -, f 5;
#X obj 228 477 +;
#X obj 69
20
0 draw path M cx cy L x1 y1 A r r 0 flag 0 x2 y2 z;
#X obj 69
14
0 draw path M cx cy L x1 y1 A r r 0 flag 0 x2 y2 z;
#X obj 228 441 t a b;
#X obj 69 143 loadbang;
#X obj 69 55 route enter leave;
#X obj 69 115 set pieslicer tx ty s;
#X msg 69 166 fill r1 g b \, fill-opacity 0.4 \, stroke black \, stroke-width
3 \, stroke-opacity 0.4 \, transform translate tx ty scale s;
#X obj 69 63 loadbang;
#X obj 69 225 set pieslicer tx ty s;
#X obj 69 8 struct pieslicer float x float y float cx float cy float
x1 float y1 float r float flag float x2 float y2 float r1 float g float
b float s float tx float ty;
#X msg 69
8
4 -30 -30 1.1 \$1;
#X msg 174
8
4 0 0 1 \$1;
#X msg 69
19
4 -30 -30 1.1 \$1;
#X msg 174
19
4 0 0 1 \$1;
#X text 638 3 draw;
#X text 906 282 curve;
#X text 787 452 canvas;
...
...
@@ -123,6 +120,10 @@ Editing a long list of floats is simply too prone to error.;
#X text 778 516 Based on:;
#X obj 778 537 pddp/pddplink http://raphaeljs.com/pie.html;
#X obj 69 -16 namecanvas pieslice-canvas;
#X msg 69 86 fill r1 g b \, fill-opacity 0.4 \, stroke black \, stroke-width
3 \, stroke-opacity 0.4 \, transform translate tx ty scale s \, mouseover
1 \, mouseout 1;
#X obj 69 165 route mouseover mouseout;
#X connect 3 0 9 0;
#X connect 3 0 13 0;
#X connect 4 0 3 0;
...
...
@@ -147,12 +148,12 @@ Editing a long list of floats is simply too prone to error.;
#X connect 21 0 18 2;
#X connect 22 0 18 4;
#X connect 22 0 17 1;
#X connect 23 0 40 0;
#X connect 24 0 22 0;
#X connect 24 1 17 0;
#X connect 25 0 28 0;
#X connect 26 0 30 0;
#X connect 26 1 31 0;
#X connect 28 0 23 0;
#X connect 25 0 39 0;
#X connect 28 0 26 0;
#X connect 29 0 26 0;
#X connect 30 0 27 0;
#X connect 31 0 27 0;
#X connect 39 0 23 0;
#X connect 40 0 28 0;
#X connect 40 1 29 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