Richard Gaskin writes:
>
> Mike Bonner wrote:
>
> > I have a feature request.. Add the points property to regular
> > polygons. They don't need to be settable, but then you can
> > easily find the centroid of say.. a triangle
>
> Apparently Mark Wieder was using Jacque's time machine last y
Nice! Thx
On Thu, Jun 18, 2015 at 8:28 AM, Richard Gaskin
wrote:
> Mike Bonner wrote:
>
> > I have a feature request.. Add the points property to regular
> > polygons. They don't need to be settable, but then you can
> > easily find the centroid of say.. a triangle
>
> Apparently Mark Wieder wa
Mike Bonner wrote:
> I have a feature request.. Add the points property to regular
> polygons. They don't need to be settable, but then you can
> easily find the centroid of say.. a triangle
Apparently Mark Wieder was using Jacque's time machine last year, read
your request this morning, and ad
Hi Mike,
Mike Bonner wrote
> I have a feature request.. Add the points property to regular polygons.
on mouseUp
put the effective points of grc "theRegularPoiygon" into tPoints
end mouseUp
Kind regards
Bernd
--
View this message in context:
http://runtime-revolution.278305.n4.nabble.com
I have a feature request.. Add the points property to regular polygons.
They don't need to be settable, but then you can easily find the centroid
of say.. a triangle x1 + x2 + x3 / 3 = the x centroid of the triangle. y1
+ y2 + y3 / 3 = the y centroid of the triangle. ( you could of course use
ot
What I should have said:
If you already have the triangle images, and they have no margin, so a 200
pixel triangle should be a rectangular image 174 pixel tall and 200 pixels
wide, then adding a 7.5% margin to the left AND right of the image (15 %
total) and a 32% margin to the bottom, should resu
As it happens I've just been doing a lot of trig plotting in LC recently.
The basic answer to this problem is that the sides of the square need to be
115% the sides of your triangle, with the base of your triangle horizontal
and parallel to the base of your square and the pinnacle of your triangle
Hi Richmond,
maybe this helps
http://runtime-revolution.278305.n4.nabble.com/Rotate-around-Center-of-Mass-tc4273701.html#a4276694
It is from Jim James Hurley and lets you turn an image around any point you
define.
Kind regards
Bernd
--
View this message in context:
http://runtime-revoluti
8-796-9332
-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of
Richmond
Sent: Tuesday, June 16, 2015 3:11 PM
To: How to use LiveCode
Subject: Re: Equilateral Triangles
On 16/06/15 19:12, Randy Hengst wrote:
> What’s your goal? Why not m
On 16/06/15 19:12, Randy Hengst wrote:
What’s your goal? Why not move the spots?
be well,
randy
Randy Hengst
www.classroomFocusedSoftware.com
Cripes . . . spoilt for choice as so many people have come up with great
ideas.
I have a set of images constituting a complete Triomino set :
htt
What’s your goal? Why not move the spots?
be well,
randy
Randy Hengst
www.classroomFocusedSoftware.com
> On Jun 16, 2015, at 2:26 AM, Richmond wrote:
>
> On 16/06/15 04:21, Randy Hengst wrote:
>> would this help at all?
>>
>> create a regular polygon with 3 sides… then in the script of that
Find the center of the triangle. (you can draw grc line overlays to help
with this)
Make a grc square, and set its loc (center) matching the point you found
for the center of the triangle.
If it cuts off the top of the triangle, make the square bigger and
recenter. Do this until the point of the
On 16/06/15 04:21, Randy Hengst wrote:
would this help at all?
create a regular polygon with 3 sides… then in the script of that graphic:
on mouseDown
repeat while the mouse is down
local tStartLoc
put the loc of target into tStartLoc
set the angle of target to (the ang
On 16/06/15 02:36, Geoff Canyon wrote:
On Mon, Jun 15, 2015 at 6:20 PM, Colin Holgate
wrote:
He mentioned that his images are square. That is, the triangle is perhaps
aligned with the top of the square. So, the center to the triangle is not
at the center of the square.
If the triangle is off
On 16/06/15 02:17, Geoff Canyon wrote:
Wait -- why are you rotating by 120? That's 1/3 of a revolution, i.e. the
triangle should look identical to an unrotated one. Are they specially
colored or something?
Here's one of them:
https://www.dropbox.com/sh/tyt4o1md51bfair/AABThCCgJkqLQvz1e-NRQGg7a
would this help at all?
create a regular polygon with 3 sides… then in the script of that graphic:
on mouseDown
repeat while the mouse is down
local tStartLoc
put the loc of target into tStartLoc
set the angle of target to (the angle of target + 15)
set the loc of targe
On Mon, Jun 15, 2015 at 6:20 PM, Colin Holgate
wrote:
> He mentioned that his images are square. That is, the triangle is perhaps
> aligned with the top of the square. So, the center to the triangle is not
> at the center of the square.
If the triangle is offset on purpose, and the intent is to
He mentioned that his images are square. That is, the triangle is perhaps
aligned with the top of the square. So, the center to the triangle is not at
the center of the square.
> On Jun 15, 2015, at 7:17 PM, Geoff Canyon wrote:
>
> Wait -- why are you rotating by 120? That's 1/3 of a revoluti
Wait -- why are you rotating by 120? That's 1/3 of a revolution, i.e. the
triangle should look identical to an unrotated one. Are they specially
colored or something?
In any case, I'd either:
1. Create rotated images externally, and sub them in rather than actually
rotate.
2. Do the rotation whil
This may help:
http://www.instructables.com/id/How-to-make-a-paper-triangle-from-a-square/
Bob S
On Jun 15, 2015, at 13:17 , Richmond
mailto:richmondmathew...@gmail.com>> wrote:
there is NO way one can centre an equilateral triangle in a square.
__
20 matches
Mail list logo