![]()
Cinder Creative Coding Cookbook
Table of Contents
Cinder Creative Coding Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers and more
Why Subscribe?
Free Access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. Getting Started
Introduction
Creating a project for a basic application
Getting ready
How to do itā¦
How it works...
There's more...
Creating a project for a screensaver application
Getting ready
How to do itā¦
How it works...
Creating a project for an iOS touch application
Getting ready
How to do itā¦
How it works...
Understanding the basic structure of an application
Getting ready
How to do itā¦
How it works...
There's more...
See also
Responding to mouse input
Getting ready
How to do itā¦
How it works
There's more...
Responding to key input
Getting ready
How to do itā¦
How it worksā¦
There's more...
Responding to touch input
Getting ready
How to do itā¦
How it worksā¦
There's more...
Accessing files dropped onto the application window
Getting ready
How to do itā¦
How it worksā¦
There's moreā¦
Adjusting a scene after resizing the window
Getting ready
How to do itā¦
How it worksā¦
Using resources on Windows
Getting ready
How to do itā¦
How it works...
There's more...
Using resources on iOS and OS X
Getting ready
How to do itā¦
How it works...
There's more...
Using assets
Getting ready
How to do itā¦
How it worksā¦
There's moreā¦
2. Preparing for Development
Introduction
Setting up a GUI for tweaking parameters
Getting ready
How to do itā¦
How it works...
There's more...
Buttons
Panel position
See also
SimpleGUI
ciUI
AntTweakBar
Saving and loading configurations
Getting ready
How to do it...
How it works...
See also
Cinder-Config
Making a snapshot of the current parameter state
Getting ready
How to do it...
How it works...
Using MayaCamUI
Getting ready
How to do it...
How it works...
Using 3D space guides
Getting ready
How to do it...
How it works...
Communicating with other software
Getting ready
How to do it...
Sender
Listener
How it works...
There's more...
Broadcast
See also
OSC in Flash
OSC in Processing
OSC in openFrameworks
OpenSoundControl Protocol
Preparing your application for iOS
Getting ready
How to do it...
See also
Apple Developer Center
3. Using Image Processing Techniques
Introduction
Transforming image contrast and brightness
Getting ready
How to do it...
How it works...
Integrating with OpenCV
Getting ready
How to do itā¦
How it worksā¦
There's moreā¦
Detecting edges
Getting ready
How to do itā¦
How it worksā¦
There's moreā¦
Detecting faces
Getting ready
How to do itā¦
How it worksā¦
There's moreā¦
Detecting features in an image
Getting ready
How to do itā¦
How it worksā¦
There's moreā¦
If images match
Other possibilities
See also
Converting images to vector graphics
Getting started
How to do itā¦
How it worksā¦
See also
4. Using Multimedia Content
Introduction
Loading and displaying video
Getting ready
How to do itā¦
How it worksā¦
There's more
Creating a simple video controller
Getting ready
How to do itā¦
How it worksā¦
Saving window content as an image
How to do itā¦
How it worksā¦
There's more...
Saving window animation as image sequences
Recording sound visualization
Saving window animations as video
Getting ready
How to do itā¦
How it worksā¦
There's more...
Saving window content as a vector graphics image
Getting ready
How to do itā¦
How it worksā¦
There's more...
Saving high resolution images with the tile renderer
Getting ready
How to do it...
How it worksā¦
Sharing graphics between applications
Getting ready
How to do itā¦
How it worksā¦
There's more...
Receiving graphics from other applications
5. Building Particle Systems
Introduction
Creating a particle system in 2D
Getting ready
How to do itā¦
How it works...
There's more...
See also
Applying repulsion and attraction forces
Getting ready
How to do itā¦
How it worksā¦
Simulating particles flying in the wind
Getting ready
How to do itā¦
How it worksā¦
See also
Simulating flocking behavior
Getting ready
How to do itā¦
How it worksā¦
See also
Making our particles sound reactive
Getting ready
How to do itā¦
How it worksā¦
See also
Aligning particles to a processed image
Getting ready
How to do itā¦
How it worksā¦
See also
Aligning particles to the mesh surface
Getting ready
How to do itā¦
How it worksā¦
Creating springs
Getting ready
How to do itā¦
How it worksā¦
There's moreā¦
6. Rendering and Texturing Particle Systems
Introduction
Texturing particles
Getting started
How to do itā¦
How it worksā¦
See also
Adding a ta...