Here you could find the code for Barnsley Fern in Python 3, for more informations visit the project webpage:
https://solarianprogrammer.com/2017/11/02/barnsley-fern-python-3/
In order to run the code on your machine you'll need Python 3.6 (and up) and the Pillow image library https://python-pillow.org/.
You could use this program under the terms of GPL v3, for more details see:
https://www.gnu.org/copyleft/gpl.html
Copyright 2017 Sol from https://solarianprogrammer.com