Menu

Playing around python, vtk and fractals

Found an old piece of code generating fractal landscape with a very easy method: immediately translated into python !

Fractal landscape are generated subdivising a initial Delaunay triangulation and randomizing altitudes within subdivisions.
Vizualization is made available by a VTK file export, included in MMW.
Everything (source + test/examples) is available in MathMonkeyWrench.core.fractal. See landscape.py.

Apparently, there is much more to do with native vtk routines. To be continued ...

Fractal landscape generated by MMW

Posted by Loïc B. 2012-09-16

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.