Cinder – Begin Creative Coding

A quick introduction into the world of creative coding with Cinder through basic tutorials and a couple of advanced examples

Cinder – Begin Creative Coding

Starting
Krisjanis Rijnieks

A quick introduction into the world of creative coding with Cinder through basic tutorials and a couple of advanced examples
$10.00
$29.99
RRP $14.99
RRP $29.99
eBook
Print + eBook
$12.99 p/month

Get Access

Get Unlimited Access to every Packt eBook and Video course

Enjoy full and instant access to over 3000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

+ Collection
Free Sample

Book Details

ISBN 139781849519564
Paperback146 pages

About This Book

  • More power – Cinder is one of the most powerful creative coding engines out there and it will be hard to find a better one for your professional grade project
  • Do it fast – each section should not take longer than one hour to complete
  • We give you the tools and it is up to you what you do with them – we won't go into complicated algorithms, but rather give you the brushes and paints so you can paint the way you already know

Who This Book Is For

"Cinder – Begin Creative Coding" is for people who already have experience in programming. It can serve as a transition from a previous background in Processing, Java in general, JavaScript, openFrameworks, C++ in general or ActionScript to the framework covered in this book, namely Cinder. If you like quick and easy to follow tutorials that will let yousee progress in less than an hour – this book is for you. If you are searching for a book that will explain algorithms for complex 2D and 3D generative animations and use of advanced C++ and / or Open GL features – it is not.

Table of Contents

Chapter 1: 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
Chapter 2: Know What is Possible – The Cinder Toolset
BasicApp
BezierPath
CairoBasic
CaptureTest
EaseGallery
TextBox
ArcballDemo
Earthquake
AudioGenerative
Summary
Chapter 3: Initial Setup – Creating the BaseApp
TinderBox
Creating a project from scratch (Mac OS X)
Creating a project from scratch (Windows)
Final adjustments
Summary
Chapter 4: Prepare Your Brushes – Drawing Basic Shapes
Preparing your workspace
Drawing lines
Drawing circles
Drawing rectangles
Other useful drawing functions
Summary
Chapter 5: Making Use of Images – Loading and Displaying
Loading an image
Handling assets
Summary
Chapter 6: Accelerate – Creating Generative Animation
Preparing the stage
Adding animation
Adding randomness
More circles
Using built-in eases
Summary
Chapter 7: 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
Chapter 8: Adding Depth – Cinder 3D Basics
Introducing the 3D space
Drawing in 3D
Understanding nested states
Handling depth sorting
Exploring other Cinder 3D primitives
Summary
Chapter 9: Enter Sound – Adding Sound and Audio
Loading and playing a sound file
Using tracks
Changing track parameters
Visualizing audio
Using audio input
Summary
Chapter 10: Talk to the User – Adding Interactivity and UI Events
Handling events
Summary

What You Will Learn

  • Set up the Cinder development environment to let you start a new project in the fastest way possible
  • Generative animation basics that will allow you to create endless loops without a frame that repeats itself
  • Cinder and Open Sound Control – how to control and be controlled by other OSC enabled applications
  • Use widely used functionality included many other creative coding frameworks in Cinder
  • Explore Cinder and projection mapping by using Syphon and MadMapper

In Detail

Cinder is one of the most powerful professional grade C++ creative coding frameworks out there. It is open-source and peer-reviewed, meaning that there are experienced professionals behind its developmentand that every development step is taken seriously. Its philosophy is based on the capabilities of the operating system it is used for – Cinder will take the best from every OS and hardware you choose to work on.

"Cinder – Begin Creative Coding" will let you take your previous creative coding experience to a higher and also more demanding level. It will show you the Cinder way of using the most used creative coding functions for drawing, animation, interaction and allow you to do much more in terms of performance and cross-application-compatibility.

Starting by downloading Cinder and setting up the development environment, we will work through some of the most widely used topics in creative coding by creating and discussing simple sample applications.

Throughout this book we will deal with relatively simple topics like basic drawing, basic animation, basic 3D, interaction, loading files, playing back video files, applying built in and custom effects. Then going through to more advanced topics like how to use Cinder for a generative projection mapping project by using Syphon technology and how to connect Open Sound Control enabled applications for receiving and sending data and commands.

"Cinder – Begin Creative Coding" will bring your craziest ideas closer to the core of your computer by using the pure power of C++.

Authors

Table of Contents

Chapter 1: 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
Chapter 2: Know What is Possible – The Cinder Toolset
BasicApp
BezierPath
CairoBasic
CaptureTest
EaseGallery
TextBox
ArcballDemo
Earthquake
AudioGenerative
Summary
Chapter 3: Initial Setup – Creating the BaseApp
TinderBox
Creating a project from scratch (Mac OS X)
Creating a project from scratch (Windows)
Final adjustments
Summary
Chapter 4: Prepare Your Brushes – Drawing Basic Shapes
Preparing your workspace
Drawing lines
Drawing circles
Drawing rectangles
Other useful drawing functions
Summary
Chapter 5: Making Use of Images – Loading and Displaying
Loading an image
Handling assets
Summary
Chapter 6: Accelerate – Creating Generative Animation
Preparing the stage
Adding animation
Adding randomness
More circles
Using built-in eases
Summary
Chapter 7: 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
Chapter 8: Adding Depth – Cinder 3D Basics
Introducing the 3D space
Drawing in 3D
Understanding nested states
Handling depth sorting
Exploring other Cinder 3D primitives
Summary
Chapter 9: Enter Sound – Adding Sound and Audio
Loading and playing a sound file
Using tracks
Changing track parameters
Visualizing audio
Using audio input
Summary
Chapter 10: Talk to the User – Adding Interactivity and UI Events
Handling events
Summary

Book Details

ISBN 139781849519564
Paperback146 pages
Read More

Recommended for You

Microsoft System Center 2012 Configuration Manager: Administration Cookbook
$ 10.00
Microsoft System Center Configuration Manager Advanced Deployment
$ 10.00
System Center 2012 R2 Virtual Machine Manager Cookbook - Second Edition
$ 10.00