Demo of calculating tangets to circles

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller, robinmiller

Post Reply
micmac
Posts: 32
Joined: Mon May 30, 2011 9:00 am

Demo of calculating tangets to circles

Post by micmac » Fri Feb 14, 2020 6:13 pm

Hi there

This is a quick demo of calculating tangents to circles

Michael
Skærmbillede 2020-02-14 kl. 18.06.11.png
Calculate tangent to circles.zip
(164.45 KiB) Downloaded 145 times

RogGuay
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 74
Joined: Fri Apr 28, 2006 12:10 am

Re: Demo of calculating tangets to circles

Post by RogGuay » Fri Feb 14, 2020 6:30 pm

Very nice, Michael!

Roger

[-hh]
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2262
Joined: Thu Feb 28, 2013 11:52 pm
Location: Göttingen, DE

Re: Demo of calculating tangets to circles

Post by [-hh] » Sat Feb 29, 2020 12:20 pm

This is fine.
[Just one small suggestion: You could add the degenerate cases (where the script generates math errors).]
shiftLock happens

micmac
Posts: 32
Joined: Mon May 30, 2011 9:00 am

Re: Demo of calculating tangets to circles

Post by micmac » Sat Feb 29, 2020 10:21 pm

hh I know how good you are at math ;-)

Michael

Thierry
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 817
Joined: Wed Nov 22, 2006 3:42 pm
Location: France
Contact:

Re: Demo of calculating tangets to circles

Post by Thierry » Mon Mar 02, 2020 1:06 pm

Hi Michael,

Quite impressive!

I've edited the Oval1 script to redraw dynamically while moving the mouse.

Enjoy :)

Thierry

Calculate tangent to circles.zip
(164.68 KiB) Downloaded 117 times
Thierry Douez
- Senior computer scientist
- Conseil, dévelopement et support en Français
https://sunny-tdz.com
https://sunny-tdz.com/livecode/externals

Post Reply

Return to “Getting Started with LiveCode - Experienced Developers”