An implementation of the Barnsley Fern in Swift
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
BarnsleyFern.xcodeproj
BarnsleyFern
README.md

README.md

Barnsley Fern

This is an implementation of the Barnsley Fern in Swift using Core Graphics. The two main components are FernController and FernView. Although this code is technically valid Swift 1.2, it was developed in Xcode 7 beta, so it may require some work to run it in earlier versions of Xcode. The image is currently generated from 1 million points, but you can change this number in ViewController

Read about the Barnsley Fern

image