Skip to content

theKaiZ/BarnsleyFern3D

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This is more an extended test of the PyOpenGL library. For more information about the Barnsley Fern visit Wikipedia (https://en.wikipedia.org/wiki/Barnsley_fern). I optimized the calculations to show it in 3D and also made a "moving" version of the fern.

For use you need the following Python libs:

  • numba
  • numpy
  • PyOpenGL
  • pygame

If you want to save a video form this you may also require ffmpeg.

The actual version (with ctypes) will just work on Linux

Have fun :D

An abberation of this code was used to react to different channels of music and produced the video to the following link:

https://www.youtube.com/watch?v=bw8bcGeEnTs&feature=youtu.be&fbclid=IwAR3fWePrFPKy517WZfDbrnccLa_EGgd_iiSC15Srzi4KmN9jet-F_PHRlY8

About

Making barnsley fern 3D animations with PyOpenGL

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published