Skip to content

Extending the classical rope-and-pencil ellipse drawing technique to more than 2 foci.

License

Notifications You must be signed in to change notification settings

ens-lg4/multifocus_ellipse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

multifocus_ellipse

Build Status

Extending the classical pins-string-and-pencil ellipse drawing technique to more than 2 foci. The generic problem is, given a set of 2D points, make a string loop around them and the tip of a pencil and trace a convex smooth curve around the points with this pencil while keeping the loop taught.

For 3 non-collinear foci the resulting curve looks like this: Three-foci ellipse example

It is in fact a smooth combination of 6 elliptical fragments, each built on just two foci out of three: Three-foci ellipse with leftovers

Animation of a running pencil in a string loop: Three-foci pencil animation

For 4 non-collinear foci the resulting curve looks like this: Four-foci ellipse example

It is a smooth combination of 8 elliptical fragments, each built on two foci out of four: Four-foci ellipse with leftovers

The following drawing shows the effect of different amount of slack in the loop, ranging from "almost a polygon" to "almost a circle": Multi-focus ellipses with different slacks

About

Extending the classical rope-and-pencil ellipse drawing technique to more than 2 foci.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages