PacktLib: Cinder – Begin Creative Coding

Cinder – Begin Creative Coding

Credits

About the Author

About the Reviewers

About the Reviewers

www.PacktPub.com

Preface

Learn Cinder Basics – Now!

What is creative coding

A few words about Cinder

Downloading Cinder

Setting up Cinder on Mac OS X

Setting up Cinder on Windows

Summary

Know What is Possible – The Cinder Toolset

BasicApp

BezierPath

CairoBasic

CaptureTest

EaseGallery

TextBox

ArcballDemo

Earthquake

AudioGenerative

Summary

Initial Setup – Creating the BaseApp

TinderBox

Creating a project from scratch (Mac OS X)

Creating a project from scratch (Windows)

Final adjustments

Summary

Prepare Your Brushes – Drawing Basic Shapes

Preparing your workspace

Drawing lines

Drawing circles

Drawing rectangles

Other useful drawing functions

Summary

Making Use of Images – Loading and Displaying

Loading an image

Handling assets

Summary

Accelerate – Creating Generative Animation

Preparing the stage

Adding animation

Adding randomness

More circles

Using built-in eases

Summary

Working with Images – Real-time Postprocessing and Effects

Introducing Texture, Surface, and Channel

Applying the grayscale effect

Using threshold

Animating effects

Applying effects to moving images

Summary

Adding Depth – Cinder 3D Basics

Introducing the 3D space

Drawing in 3D

Understanding nested states

Handling depth sorting

Exploring other Cinder 3D primitives

Summary

Enter Sound – Adding Sound and Audio

Loading and playing a sound file

Using tracks

Changing track parameters

Visualizing audio

Using audio input

Summary

Talk to the User – Adding Interactivity and UI Events

Handling events

Summary

Basic Cinder Functionality Reference

Basic Cinder Functionality Reference

Basic Cinder Functionality Reference

Basic Cinder Functionality Reference

Basic Cinder Functionality Reference

Basic Cinder Functionality Reference

Index