Have a problem:
i need to draw a curve using straight equal length lines.
It has 4 parameters: start X and Y and an end X and Y
Start X and Y will be the pivot so will never change but i need to work out the end X and Y in order to create a 1/4 circle using equal length lines.
Any one know of the equation to solve this?
All Comments
(10) Jump to unreadPost a comment..effectively what you're trying to do is lay intersecting tangents of equal length on a 1/4 size circle
correct?
and what you're trying to achieve is the a formula for the perimeter of the shape formed by the intersecting equilength tangents
correct?
......................... Just what I was thinking!.............................................. honest



....................................................................................< the curve from the horizontal to the vertical ish lol



Edited By: mds1256 on Jan 04, 2011 13:40
......................... Just what I was thinking!.............................................. honest
..love things like this...take a look @ this other problem
link
http://www.hotukdeals.com/misc/anyonegoodatphysicsactivityhal/819170?page=3
anyway ...will get back later this afternoon..if you haven't resolved it by then
cheers
DL
we're looking at a polygonic figure ?
I assume you know the radius of this 1/4 circle you'd like to draw ?
so either
1) we have this circle enclosing a polygon with the tips of the polygon touching the inner perimeter of the circle ( 1/4 circle to be specific )
or
2) have the circle just fitting inside the the polygon which would automatically create tangents for you if you see what I mean
( rather like fitting a small bicycle wheel into a multisided (angular) hat box so that the wheel touches every angled side( face)
..my mums hat boxes come to mind..haha)
anyway take a look here
http://www.mathopenref.com/polygonregulararea.html
cheers
radius is  6cm
cheers
var offsetX = 0;
var offsetY = 100;
var circleRadius = 600;
for(i = 0; i<=90; i++)
{
x = (Math.cos(i * 3.142 / 180) * circleRadius);
y = (Math.sin(i * 3.142 / 180) * circleRadius);
}