Tips for Mobile Devs – Image Magick Command Line 1

When I first began contracting I stumbled on to a tool that I now use all the time, Image Magick. Image Magick is a C library that can be used in all kinds of ways, including inside your iOS app if you want. But, I use it as a command line tool to manipulate image ...

Mixing two Videos with GPUImage 11

Mixing two Videos with GPUImage
There was some discussion on the GPUImage github a little while back about how to mix two video input sources. I have been meaning to investigate this capability for a while. Well, last night I had a burst of productive energy so I was up late playing with it. This morning I can report my ...

Perform a blur using vImage from the Accelerate framework Tutorial 10

Perform a blur using vImage from the Accelerate framework Tutorial
Last week I attended 360iDev for the first time. It was tres awesome. One of my favorite sessions was on the accelerate framework from Jeff Biggus (@hyperjeff). One of the biggest barriers to using the framework is a lack of easy to follow documentation/sample code. I went looking for some sample code on how to ...

Perlin Noise on GPU in GPUImage 1

Perlin Noise on GPU in GPUImage
Perlin noise has all kinds of applications, from realistic looking texutres to fire effects to flow fields. It’s a useful tool to have in the belt. If you’ve never heard of perlin noise here’s the wikipedia article and here’s a great explanation of how it’s calculated. Better than that, here are some examples of its ...

Learning OpenGL with GPUImage 11

Learning OpenGL with GPUImage
Writing an Image Processing Filter In this post we’re going to cover the basics of how to write an image processing filter using glsl. We’ll be producing a variant of an existing filter. Here’s a look at our final project: We’ll be using the GPUImage framework in order to jump in to writing glsl shaders ...

More Fun With Cocos2d Particles 1

More Fun With Cocos2d Particles
My latest attempt is to extend the Cocos2d particle system to include a variety of things, multiple particle sprites, animated sprites, flow fields, and eventually a boids algorithm implementation. Today I have a work in progress class that’s by no means ready for any kind of production. I though I’d share it anyway. In it’s ...

My Quest to Learn OpenGL 3

My Quest to Learn OpenGL
This post is going to be all about openGL. I don’t explain it from a beginner’s perspective, so if you are new the the openGL API, it may not be easy to follow. I have listed what I think are the best resources in the bottom paragraph. If you’re new, definitely read those, especially Jeff ...

Cocos2D Particle Engine w/Different Sprites 6

Cocos2D Particle Engine w/Different Sprites
Most of my development work is centered around educational games. I am co-founder of Third Rail Games, LLC. A while back I wanted to modify the particle system in Cocos2D so that it would put out streams of letters in a given sequence instead of the one sprite. Here’s what I ended up with: Here’s ...

Easiest Twitter App Ever (plus NSLinguisticTagger)

Easiest Twitter App Ever (plus NSLinguisticTagger)
My very first idea for an iphone app was something that would allow me to navigate the language used in tweets. I wanted to create an app that pulled twitter data, based on a search phrase, parse the words in that request, pull out represent those words by frequency or importance, and present that visually ...

Conway’s Game of Life Painted with Incoming Video (Core Image Tut) 6

Conway's Game of Life Painted with Incoming Video (Core Image Tut)
Combining Core Image and Core Graphics A few months ago I heard about this great app called Composite. This app lets you draw to the canvas using the video feed input as paint. It’s really quite cool and when I started learning about what Core Image could do I started to wonder if similar thing ...