hi Jim
Where can one use the code?
I put it in a button in alejandros stack and get errors.
I have never seen the To Poly syntax before
I ditto the challenge given to you before.
Michael
This script will provide the individual points.
on mouseUp
put the width of this card/2 into
frivolous, frivolous but fun,
like shattering a circle and reforming the bits and pieces into a rectangle.
Jim
Message: 10
Date: Sat, 18 Jan 2014 11:20:02 -0500
From: Roger Eller roger.e.el...@sealedair.com
To: How to use LiveCode use-livecode@lists.runrev.com
Subject: Re: the points of graphic
On Sun, Jan 19, 2014 at 12:09 PM, Jim Hurley wrote:
Hi Roger,
Praying on my ego are you?
Um, yes. :)
I don't really think I am up to this challenge. I'm not quite sure what is
needed.
Well, I guess Adobe is in no danger of a LiveCode application competitor
then. /joke I would love
Thanks, Klaus, and sorry Michael.
I forgot. I have sine and cosine functions in the stack script:
function sine tAngle
return sin(tAngle /180*pi)
end sine
Similarly for the cosine.
Jim
Hi Michael,
Am 19.01.2014 um 16:41 schrieb Michael Kristensen
michael-kristensen at dsa-net.dk
:
Nice!!! Thank you!
~Roger
On Jan 18, 2014 2:12 AM, Alejandro Tejada capellan2...@gmail.com wrote:
Hi jvb,
Take a look at this stack and use code that you find useful:
http://andregarzia.on-rev.com/alejandro/stacks/regularPolygon_Tool_v2.zip
Screenshot of the stack:
Message: 2
Date: Fri, 17 Jan 2014 16:00:43 +0200
From: j...@souslelogo.com
To: use-revolut...@lists.runrev.com
Subject: the points of graphic
Message-ID: b058292c0d6ba33b59b2906da17e9271.squirrel@185.8.104.234
Content-Type: text/plain;charset=iso-8859-1
Hi list,
Is there a way to
Jim (aka Mr. graphics wizard),
Here's a challenge for you:
Create the outline of an odd geometric shape using several of the existing
tools (an L shape, but with round ends, by using circles).
Then, with math wizard code, trace the outer overall shape into the points
of a single new polygon.
Hi jbv,
I don't think there is an easy way to get the points of a regular
polygon. If you are going to do calculations, you might as well
calculate the points for the shape you want and use these for an
(irregular) polygon.
--
Best regards,
Mark Schonewille
Economy-x-Talk Consulting and
There is a thread on this in the forums. Only freehand graphics, lines and
polylines have points. Regular polygons and even rectangles do not. I made a
feature request for this. But the forum thread addresses this thoroughly,
including workarounds from Hermann and others
Craig
Sent from my
Hi jvb,
Take a look at this stack and use code that you find useful:
http://andregarzia.on-rev.com/alejandro/stacks/regularPolygon_Tool_v2.zip
Screenshot of the stack:
https://dl.dropboxusercontent.com/u/3834621/LiveCode_regularPolygonToolv2.jpg
Have a nice weekend! :-)
Al
--
View this
10 matches
Mail list logo