šŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by EllisMorgan Sat, 11 Jul 2026 14:39
drawing ellipses
#1
Author: EllisMorgan
Date: Sat, 11 Jul 2026 14:39
17 lines
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
  }
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads