By Daniel Shiffman
This sequence of tutorials was produced by the Processing Foundation as a part of the Hour of Code™, a nationwide initiative by Code.org to introduce students to computer programming. The program launched during Computer Science Education Week, 9-15 December 2013 with the goal of giving millions of students the opportunity to explore coding as a way of thinking and making.
Our contribution uses Processing, a programming platform designed to bring programming to visual arts communities and to bring technical fields closer to the visual arts. Processing is used to teach programming principles within the context of visual media. The Processing software is free to download and is open source. Visit the Processing website to download it and learn more.
Generative design is a revolutionary new method of creating artwork, models, and animations from sets of rules, or algorithms. By using accessible programming languages such as Processing, artists and designers are producing extravagant, crystalline structures that can form the basis of anything from patterned textiles and typography to lighting, scientific diagrams, sculptures, films, and even fantastical buildings. Opening with a gallery of thirty-five illustrated case studies, Generative Design takes users through specific, practical instructions on how to create their own visual experiments by combining simple-to-use programming codes with basic design principles. A detailed handbook of advanced strategies provides visual artists with all the tools to achieve proficiency. Both a how-to manual and a showcase for recent work in this exciting new field, Generative Design is the definitive study and reference book that designers have been waiting for.
With p5.js, you can think of your entire Web browser as your canvas for sketching with code!
With Getting Started with p5.js, you’ll:
Since it first emerged in 2001, Processing has grown into a flourishing community of thousands of artists, designers, makers, and educators. It has redrawn the boundaries of art and technology, affecting communities in contexts as various as the classroom to the art museum to the hackerspace. After 12 years of development and being intensively taught in classrooms, the second edition of the Processing textbook was released in December 2014.
By teaching computer programming with the context of the visual arts, this book has introduced a new literacy with software, enabling designers and artists to create new media for the present, and to imagine future media that are beyond the capacities of current software tools. It offers a thorough introduction to Processing, an open-source programming language that is used by students, artists, designers, architects, researchers, and anyone who wants to program images, animation, and interactivity. Written by Processing’s cofounders, the book offers a definitive reference for students and professionals. Tutorial chapters make up the bulk of the book; advanced professional projects from such domains as animation, performance, and installation are discussed in interviews with their creators.
This second edition has been thoroughly updated, influenced by the seven years of Processing being taught in classrooms, computer labs, universities, art and design schools, and arts institutions since the first edition. Every chapter has been revised, and new chapters introduce more ways to work with data and geometry. New “synthesis” chapters offer discussion and worked examples of such topics as sketching with code, modularity, and algorithms. Interviews have been added that cover a wider range of projects. “Extension” chapters are now offered online so they can be updated to keep pace with technological developments in such fields as computer vision and electronics.
Interviews with SUE.C, Larry Cuba, Mark Hansen, Lynn Hershman Leeson, Jürg Lehni, LettError, Golan Levin and Zachary Lieberman, Benjamin Maus, Manfred Mohr, Ash Nehru, Josh On, Bob Sabiston, Jennifer Steinkamp, Jared Tarbell, Steph Thirion, and Robert Winter.
Spark Fun has a wide range of components and modules to solve many common physical computing tech challenges. Based in Colorado, shipping can take a few days. Great customer service, resources and video tutorials.
Adafruit is based in New York which means the delivery can take a few days. They have many components and modules with excellent tutorials.
How can we capture the unpredictable evolutionary and emergent properties of nature in software?
How can understanding the mathematical principles behind our physical world help us to create digital worlds?
This book focuses on a range of programming strategies and techniques behind computer simulations of natural systems, from elementary concepts in mathematics and physics to more advanced algorithms that enable sophisticated visual results. Readers will progress from building a basic physics engine to creating intelligent moving objects and complex systems, setting the foundation for further experiments in generative design.
Subjects covered include forces, trigonometry, fractals, cellular automata, self-organization, and genetic algorithms.
The book’s examples are written in Processing, an open-source language and development environment built on top of the Java programming language.