Kai's Power Tools Goo - written in Swift!
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
SwiftGoo.xcodeproj
SwiftGoo
README.md

README.md

SwiftGoo

Kai's Power Tools Goo - written in Swift!

Companion project to Recreating Kai's Power Tools Goo in Swift

SwiftGoo/screenshot.png

If you remember Kai's Power Tools from the '90s, here's a quick and dirty version of Goo for iPad and iPhone. It uses a simple warp kernel to move pixels around based on the direction of the user's touch.

If you have an iPhone 6s or an Apple Pencil, it also considers touch pressure.

To do: the radius of the effect is hard coded and should consider the size of the image. If you load a large image, the relatively small effect radius isn't quite right. The default Mona Lisa image 640*640 works great :)