Free Sample
+ Collection

Cinder – Begin Creative Coding

Krisjanis Rijnieks

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

Want this title & more?

$12.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 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.

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
Chapter 2: Know What is Possible – The Cinder Toolset
Chapter 3: Initial Setup – Creating the BaseApp
Creating a project from scratch (Mac OS X)
Creating a project from scratch (Windows)
Final adjustments
Chapter 4: Prepare Your Brushes – Drawing Basic Shapes
Preparing your workspace
Drawing lines
Drawing circles
Drawing rectangles
Other useful drawing functions
Chapter 5: Making Use of Images – Loading and Displaying
Loading an image
Handling assets
Chapter 6: Accelerate – Creating Generative Animation
Preparing the stage
Adding animation
Adding randomness
More circles
Using built-in eases
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
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
Chapter 9: Enter Sound – Adding Sound and Audio
Loading and playing a sound file
Using tracks
Changing track parameters
Visualizing audio
Using audio input
Chapter 10: Talk to the User – Adding Interactivity and UI Events
Handling events

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++.


Read More

Recommended for You

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