[Cuis-dev] Proposals for Community meeting: "Bézier curves in Cuis"
ken.dickey at whidbey.com
ken.dickey at whidbey.com
Mon Jan 31 12:00:28 PST 2022
I am exploring to learn more about Vector Graphics and nested coordinate
systems.
I know almost nothing about Bézier curves, but Juan made this cute
Sample02Bezier example and I got interested.
There is a great write-up and animations at
https://en.wikipedia.org/wiki/B%C3%A9zier_curve
but you don't really need to know that much to play around with them
My view of play was to add end-point and control-point handles to the
HaloMorph for new classes BezierQuadraticMorph and BezierCubicMorph, as
well as adding MetaProperties to their menus.
To use control points requires translating between three coordinate
systems: that of the curve itself, that of the HaloMorph, and
World/Screen coordinates.
Still very much a work in progress, but I think good for a 15 minute
news item.
-KenD
-------------- next part --------------
A non-text attachment was scrubbed...
Name: BezierWControlPts.png
Type: image/png
Size: 67743 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20220131/278f72b4/attachment-0001.png>
More information about the Cuis-dev
mailing list