Cinder Creative Coding Cookbook
eBook - ePub

Cinder Creative Coding Cookbook

  1. 352 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Cinder Creative Coding Cookbook

About this book

In Detail

Cinder is one of the most exciting frameworks available for creative coding. It is developed in C++ for increased performance and allows for the fast creation of visually complex, interactive applications.

"Cinder Creative Coding Cookbook" will show you how to develop interactive and visually dynamic applications using simple-to-follow recipes.

You will learn how to use multimedia content, draw generative graphics in 2D and 3D, and animate them in compelling ways.

Beginning with creating simple projects with Cinder, you will use multimedia, create animations, and interact with the user.

From animation with particles to using video, audio, and images, the reader will gain a broad knowledge of creating applications using Cinder.

With recipes that include drawing in 3D, image processing, and sensing and tracking in real-time from camera input, the book will teach you how to develop interesting applications.

"Cinder Creative Coding Cookbook" will give you the necessary knowledge to start creating projects with Cinder that use animations and advanced visuals.

Approach

Full of easy-to-follow recipes and images that will teach powerful techniques and algorithms, building from basic projects to challenging applications.

Who this book is for

This book is for artists, designers, and programmers who have previous knowledge of C++, but not necessarily of Cinder.

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription.
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn more here.
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes! You can use the Perlego app on both iOS or Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Yes, you can access Cinder Creative Coding Cookbook by Dawid Gorny, Rui Madeira in PDF and/or ePUB format, as well as other popular books in Computer Science & Digital Media. We have over one million books available in our catalogue for you to explore.

Information

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

Table of contents

  1. Cinder Creative Coding Cookbook