Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/daltonclaybrook/barnsley-fern

An implementation of the Barnsley Fern in Swift
https://github.com/daltonclaybrook/barnsley-fern

Last synced: about 1 month ago
JSON representation

An implementation of the Barnsley Fern in Swift

Awesome Lists containing this project

README

        

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](https://en.wikipedia.org/wiki/Barnsley_fern)

![image](https://raw.githubusercontent.com/daltonclaybrook/barnsley-fern/master/BarnsleyFern/screenshot.png)