hi,
the attached patch attempt to reproduce the following formula taken from 'circle' in wikipedia http://upload.wikimedia.org/math/b/f/f/bffc9ed6838d804b4da5198cb3a86be4.png ----- "Tyler Leavitt" <thecryofl...@gmail.com> a écrit : > Hello all, > > > I am trying to graph a section of a circle into an array. I have been > trying to wrap my head around [sin] and [cos] but none of my > configurations get results. If you had a circle with radius 100 with a > center at (0, 0) I'm trying to get the upper right quadrant (positive > x and positive y). The start point being (100,0) and the end point > being (0,100). > > > Any ideas on moving forward? > > > Tyler > _______________________________________________ > Pd-list@iem.at mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list -- Patrice Colet
#N canvas 1088 497 450 300 10; #X obj 185 240 table quarter_circle; #N canvas 0 0 450 300 (subpatch) 0; #X array quarter_circle 100 float 0; #X coords 0 100 100 0 100 100 1; #X restore 50 50 graph; #X obj 227 33 loadbang; #X msg 227 53 100; #X obj 227 75 until; #X obj 225 99 f; #X obj 250 99 + 1; #X obj 225 122 t a a; #X obj 225 154 expr sqrt(10000 - ($f1 * $f1)); #X obj 225 179 tabwrite quarter_circle; #X connect 2 0 3 0; #X connect 3 0 4 0; #X connect 4 0 5 0; #X connect 5 0 6 0; #X connect 5 0 7 0; #X connect 6 0 5 1; #X connect 7 0 8 0; #X connect 7 1 9 1; #X connect 8 0 9 0;
_______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list