Introducing Image Processing in Metal
If you're interested in using Metal's compute shaders for image processing in Swift applications, you find find my whistle-stop introduction to the subject useful. This was originally written for Swift...
View ArticleSmooth Drawing for iOS in Swift with Hermite Spline Interpolation
If you’re creating a drawing or painting app for iOS, you may recall from my recent post discussing coalesced touches a way to increase touch resolution and access intermediate touch locations that may...
View ArticleA First Look at Metal Performance on the iPad Pro
TL;DR - for my Metal particles project, the iPad Pro is about 50% faster than the Air 2My shiny new iPad Pro has just arrived and, of course, the very first thing I did was install my ParticleLab...
View ArticlePencilScale - Using an Apple Pencil with an iPad Pro as an Electronic Scale
Following all the interest created by my Plum-O-Meter, I couldn't resist trying a similar experiment with my newly arrived Apple Pencil, so here's PencilScale, an iPad Pro application that uses the...
View ArticleA Look at Agents, Goals & Behaviours in GameplayKit
GameplayKit is one of the new frameworks introduced at WWDC 2015. It includes some interesting functionality that isn't just for games such as random number generation, state machines and pathfinding....
View ArticlePencilController - Using Apple Pencil as a 3D Controller for Image Editing
Despite Jony Ive describing the Pencil as being designed for marking and not as a stylus finger replacement in Wallpaper*, I've decided to explore a few unconventional uses for mine. Yesterday saw a...
View ArticlePencilSynth - An Apple Pencil Controlled Synthesiser
Here's another Apple Pencil experiment, PencilSynth is an AudioKit powered synthesiser (mis)using the Pencil as a joystick controller. It's based on AudioKit's TouchRegions demonstration and works like...
View ArticleFurrySketch: Hirsute Drawing with an Apple Pencil
After my recent experiments (mis)using my Apple Pencil for nefarious and alternative uses, I thought it was about time to play with the Pencil for its intended purpose, sketching, and see how I could...
View ArticleMercurialText: Embossed Type using SceneKit and CIShadedMaterial
iOS 9 saw the introduction of two new Core Image filters for iOS, CIHeightFieldFromMask and CIShadedMaterial, which together allow developers to create a 3D embossed image from a monochrome source,...
View ArticleMercurialPaint: Globular Embossed Painting with Metal & Core Image
Following on from my recent MercurialText experiment, here's another implementation of CIHeightFieldFromMask and CIShadedMaterial, MercurialPaint. MercurialPaint is an Apple Pencil driven sketching app...
View ArticleScribe: A Handwriting Recognition Component for iOS
With the recent arrival of my Apple Pencil my thoughts have turned to handwriting and stroked gesture recognition. There's already an excellent handwriting recognition framework in Swift,...
View ArticleBristlePaint: Embossed Painting with Individual Bristles using SpriteKit...
Following on from FurrySketch and MercurialPaint, my experiments with painting and drawing techniques for iOS in Swift continue with BristlePaint. BristlePaint draws the individual bristles of a brush...
View ArticleApple Pencil Controlled Christmas Tree Bowling with SceneKit
Here's some festive fun: an Apple Pencil controlled bowling game using SceneKit. The Pencil controls the bowling ball's direction and, since it's Christmas, the pins are Christmas trees. The audio is,...
View ArticleCartoonEyes: Compositing Cartoon Eyes over Face from Front Camera in Swift
Here's some festive silliness: CartoonEyes composites cartoon eyeballs over a face captured by an iOS devices's front camera and then passes that composite through a Core Image Comic Effect filter. It...
View ArticleFilterpedia: Core Image Filter Explorer
A big Happy New Year from Flex Monkey Towers and, with that, I'm pleased to be able to release my Filterpedia iPad app source code just in time to close 2015. Filterpedia is, hopefully, the ultimate...
View ArticleCreating a Slide Show App with Core Image Transitions
I've been working on the Transitions chapter of my upcoming book, Core Image for Swift which includes a demo slide show application. The app allows the user to select one of a handful of the transition...
View ArticleComputational Fluid Dynamics in CoreImage with CIKernel
I may have reached "peak Core Image" with my latest experiment investigating custom filters based on CIKernel. My CoreImageFluidDynamics project uses a series of separate filters to simulate a liquid...
View ArticleNew Custom Core Image Filters Added to Filterpedia
As I continue beavering away on my book, Core Image for Swift, I've been creating new custom filters. Some are simply composites of existing filters and some use CIKernel and GLSL. If you're patiently...
View ArticleMetal Kernel Functions as Core Image Filter Engines
Whoa! A CoreImage filter for generating Perlin Noise based on a Metal compute function.The chapter in my book, Core Image for Swift, that discusses creating custom filters and writing GLSL has become...
View ArticlePlaying with Interpolation Functions in Swift
One of the subjects I'll be covering in my upcoming book, Core Image for Swift, is custom transitions and, as part of that, I wanted to add different interpolations for the transition. I found a great...
View Article