A 'playground' project for rendering metaball-like graphics in metal.
Go to file
Vinicius Vendramini b88fbfcaa5 Merge branch 'dev'
2017-03-16 12:49:50 -03:00
Examples Updated the readme. 2016-02-29 17:28:52 -05:00
PixelImage Fixed warnings. 2017-03-16 12:47:29 -03:00
PixelImage.xcodeproj Xcode settings. 2017-03-16 12:49:20 -03:00
PixelImage.xcworkspace Updating project files on repo. 2016-02-20 18:45:23 -05:00
.gitignore Updating project files on repo. 2016-02-20 18:45:23 -05:00
.tailor.yml Updating project files on repo. 2016-02-20 18:45:23 -05:00
Podfile Converted automatically with Xcode tools; fixed bugs Xcode didn't cover; removed useless files to reduce work; updated CocoaPods to Swift 3. 2017-03-16 12:35:52 -03:00
Podfile.lock Converted automatically with Xcode tools; fixed bugs Xcode didn't cover; removed useless files to reduce work; updated CocoaPods to Swift 3. 2017-03-16 12:35:52 -03:00
README.md Updated the readme. 2016-02-29 17:29:57 -05:00

Example Animation

Metal Metaballs

Metal Metaballs is a framework for rendering graphs in an aesthetically pleasing way. It uses an adapted version of metaball math to create fluid graphics, allow vertices to merge with each other and allow edges to flow and animate smoothly.

Vertices and edges may be added and removed at will and can interact with gestures. Rendering a fullscreen view continuously uses only about 19% of the CPU at 60 fps, though normally the view will only be updated when needed. All rendering is done in a background thread, so the main thread remains almost completely free. These measurements were done using an iPhone 6S Plus (which has more pixels to calculate but more power to do so), so YMMV.

This framework is being developed to make me learn several different design patters, APIs and features used in iOS and in graphics applications. So far, it uses:

Installation

Just download the app and run it on your metal-enabled device of choice :)