Re: Fwd: Fractals and procedural generation

[email protected]
Newsgroups gmane.comp.lib.cairo
Message-ID <[email protected]>
 
Good ideas for drawing but they are not so easy to implement. I don't have anything as sophisticated as the 3d fractal examples. Those really look good. You can draw on a cairo surface what you want though. For a 2d drawing in 3-space with smooth, approximate and linear interpolation with animation and linear gradients using cairo you can look at the following.

https://github.com/cecashon/OrderedSetVelociRaptor/blob/master/Misc/cairo_drawings/bezier_points1.c

The code is still a bit rough as I am trying to figure a few things out like svg export but the basic drawing works well enough. 

Eric

-- 
cairo mailing list
[email protected]
https://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.