Article View: comp.lang.apl
Article #1drawing ellipses
From: EllisMorgan
Date: Sat, 11 Jul 2026 14:39
Date: Sat, 11 Jul 2026 14:39
17 lines
1899 bytes
1899 bytes
This subject came up in a recent discussion so I am posting a copy of
what was posted here on 2009. It helped me then, belayed thanks Joakim.
HOW_ELLIPSE;ellipse
ā this is the original function from Joakim (published in CLA in 2009)
ellipseā{
pos rot start end scale nsegsāāµ
thetaāstart+0,+\nsegsā“(start-end)Ć·nsegs
sinā1āā
cosā2āā
xācos theta
yāsin theta
rotmatā{2 2ā“(cos āµ)(-sin āµ)(sin āµ)(cos āµ)}rot
scalematā2 2ā“(1āscale)0 0(2āscale)
xformā0 0 1,[1]āØ(rotmat+.Ćscalemat),pos
vāxform+.Ć1,[1]āØx,[0.5]y
āĀÆ1 0āv
}
Technical Details
Message-ID:
<112tkia$24884$1@dont-email.me>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mailShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: EllisMorgan <ellis@ellis.invalid> Newsgroups: comp.lang.apl Subject: drawing ellipses Date: Sat, 11 Jul 2026 15:39:06 +0100 Organization: home Lines: 17 Message-ID: <112tkia$24884$1@dont-email.me> Reply-To: news@ellismorgan.co.uk MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Sat, 11 Jul 2026 14:39:07 +0000 (UTC) Injection-Info: dont-email.me; logging-data="2236676"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19fOZxfzG07JDeTXonokR1gExdGI/cmfzI="; posting-host="cb8ffdddcf37254a345f49daf20aea79" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:s1EidyDCTzQl6BpTI5b+WBCRyGA= sha256:Pwg+i9SFLdzRQ8zLlQrHKN1OCo3T6kdICAvxe1l1NTo= sha1:dSt6pAKiH+jEAqZaCWfqOE0dMRo= sha256:IqSu+xTxZIVk/pIq7Gl/JWJDWUDnZIkn+oFoNxCDR4A= X-Antivirus: Norton (VPS 260710-2, 10/7/2026), Outbound message X-Antivirus-Status: Clean Content-Language: en-GB