Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/daltonclaybrook/barnsley-fern
- Owner: daltonclaybrook
- Created: 2015-07-11T21:29:57.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-07-12T06:04:55.000Z (over 9 years ago)
- Last Synced: 2024-10-14T03:25:02.713Z (3 months ago)
- Language: Swift
- Size: 242 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)