Using cocos2d to create artificial intelligence demos for iOS.
Each branch will be a self-contained step in the process starting with basic drawing and touch interaction and ending with flocking, path finding, and other AI projects.
Using default cocos2d project structure, draw a sprite on the screen.
Create an update loop method and spin the sprite by modifying the rotation property based on the update time delta.
Modify project structure to separate concerns. Thanks to this akosma.com blog post for the idea.
Draw thousands of static circles using CCDrawNode and hundreds of spinning sprites to see effect on performance.
Create a toolbar that can be swiped in from the side to control sprite rotation speed.