MRaster examples 21.0.0.0
Image Processing Library
Loading...
Searching...
No Matches
newton_min_angle.cpp File Reference

Draw a Newton Fractical – color by orbit distance from roots. More...

Go to the source code of this file.

Detailed Description

Draw a Newton Fractical – color by orbit distance from roots.

Author
Mitch Richling https://www.mitchr.me
Standards
C++20
See also
https://www.mitchr.me/SS/newton/index.html#min_angle
Details


We do the standard Newton iterations, but we keep track of the minimum phase angle difference between the three bisectors between the roots. The distances are used to set the r, g, b channels (i.e. distance to root 1/2 bisector is r, root 1/3 bisector is g, and root 2/3 bisector is b).

Definition in file newton_min_angle.cpp.