/exercises

Solutions to Exercises from 'Code as Creative Medium'

Primary LanguageJavaScript

Exercises

The repository contains example solutions for the Exercises presented in Code as Creative Medium, pp.150-183, by Golan Levin and Tega Brain, MIT Press, 2021.

These solutions were developed and/or ported by Golan Levin and Tega Brain with the assistance of Lingdong Huang, Tatyana Mustakos, Cassie Scheirer, and Xinyi (Joyce) Wang. In some cases and where indicated, solutions have been adapted from code by Dan Shiffman and others.

Wherever possible, we have attempted to provide solutions in all of the following computer programming languages and toolkits. We welcome contributions, additional implementations, and ports to other languages and toolkits.

Acknowledgments

This work was supported by grant #1855045-4-19 from the Media Arts Program of the National Endowment for the Arts; by a grant from the Frank-Ratchye Fund for Art at the Frontier, administered by the Frank-Ratchye STUDIO for Creative Inquiry at Carnegie Mellon University; by support from the Integrative Design, Arts, and Technology (IDeATe) program at CMU; and through graduate assistantships from the Integrated Digital Media program at the Tandon School of Engineering, New York University.

NEA Logo


Example Solutions

  1. Graphic Elements
  2. Iteration
  3. Color
  4. Conditional Testing
  5. Unpredictability
  6. Arrays
  7. Time and Interactivity
  8. Typography
  9. Curves
  10. Shapes
  11. Geometry
  12. Image
  13. Visualization
  14. Text and Language
  15. Simulation
  16. Machine Learning
  17. Sound
  18. Games