Ok well now I have really attached the patch...<br><br><div class="gmail_quote">On Sun, Apr 10, 2011 at 7:12 AM, Tyler Leavitt <span dir="ltr">&lt;<a href="mailto:thecryoflove@gmail.com">thecryoflove@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I&#39;ve not had any real success using the formulas with [sin] and [cos]... maybe I&#39;m missing something here. The only solution that I&#39;ve gotten to work is the midpoint circle algorithm with Peter&#39;s patch.<div>

<br></div><div>I&#39;ve included a patch to show where I&#39;m struggling... When the arc gets drawn with bigger radiuses (and bigger arrays) there are a lot of indexes with no value so it&#39;s constantly jumping between 0 and the correct value. Is there a way to get pd to approximate the values in between (more or less an average between plotted points)?</div>

<div><br></div><div>Thanks so far for all the help</div><div>Tyler<div><div></div><div class="h5"><br><br><div class="gmail_quote">On Fri, Apr 8, 2011 at 11:12 PM, Mathieu Bouchard <span dir="ltr">&lt;<a href="mailto:matju@artengine.ca" target="_blank">matju@artengine.ca</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>On Fri, 8 Apr 2011, Tyler Leavitt wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
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&#39;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).<br>



<br>
Any ideas on moving forward?<br>
</blockquote>
<br></div>
use angles between 0 and pi/2 = 1.5708<br>
<br>
putting those into [cos] and [sin] will give you values for a circle of radius 1 at (0,0). For different radiuses you apply [*] after that.<br>
<br>
quadrants and clockwiseness depend on which axis uses [cos], which axis uses [sin], and which direction of each axis is positive. There are several standards for those things.<br>
<br>
 _______________________________________________________________________<br><font color="#888888">
| Mathieu Bouchard ---- tél: <a href="tel:%2B1.514.383.3801" value="+15143833801" target="_blank">+1.514.383.3801</a> ---- Villeray, Montréal, QC<br>
</font></blockquote></div><br>
</div></div></div>
</blockquote></div><br>