The Nature of Code, Spring 2021

Can we capture the unpredictable evolutionary and emergent properties of nature in software? Can understanding the mathematical principles behind our physical world help us to create digital worlds? This online, asynchronous course focuses on the programming strategies and techniques behind computer simulations of natural systems. Topics explored range from mathematics and physics to simulations of complex systems. Subjects covered include motion, forces, trigonometry, fractals, cellular automata, genetic algorithms, and neural networks. Examples are demonstrated in JavaScript using the p5.js library. This course requires Introduction to Computational Media or equivalent (one semester of programming experience.)

The class will be taught asynchronously meaning lectures will be available online, discussion will take place online and assignments should be submitted online. The material for each module will include a written chapter from the draft 2nd edition of The Nature of Code (PDF) and ~1-2 hours of video tutorials. Students can choose the format that suits them best. Students will complete one open-ended creative coding exercise for each module along with written documentation in the form of a blog post. At the end of the semester, students will develop and produce a final project.

In addition to the asynchronous material and assignments, there will be weekly office hours and discussion sessions for students to ask questions and share work. These optional sessions will be scheduled to accommodate time zones.

Code of Conduct

This course follows the ITP/IMA Code of Conduct.

Land Acknowledgement

This classroom, New York University and Brooklyn, NY is situated on the continuously inhabited land of the Lenni Lenape people. I am making a donation to the American Indian Community House for the use of this space.

Office Hours and Help

For information on office hours, help sessions, please see the course Brightspace.

Schedule

1: Week of Feb 1 - Introduction

2: Week of Feb 8 - Vectors

3: Week of Feb 15 - Forces

4: Week of Feb 22 - Oscillating Motion

5: Week of Mar 1 - Particle Systems

6: Week of Mar 8 - Simulation Project

7: Week of Mar 15 - Autonomous Agents Part 1

8: Week of Mar 22 - Autonomous Agents Part 2

9: Week of Mar 29 - Fractals and Cellular Automata

10: Week of Apr 5 - Genetic Algorithms

11: Week of Apr 12 - Neural Evolution

12: Week of Apr 19 - Final Project

13: Week of Apr 26 - Final Project

14: Week of May 3 - Final Project

Evaluation

  • Please read ITP's policy on pass/fail
  • You are required to submit all weekly assignments and a final project.
  • Grading (pass/fail) will be based on a combination of factors:
    • Participation course online community spaces and feedback on other students' projects (20%)
    • Quality of assignments (60%)
    • Final Project (20%)

Statement of Academic Integrity

Plagiarism is presenting someone else’s work as though it were your own. More specifically, plagiarism is to present as your own: A sequence of words quoted without quotation marks from another writer or a paraphrased passage from another writer’s work or facts, ideas or images composed by someone else. Statement of Principle

The core of the educational experience at the Tisch School of the Arts is the creation of original academic and artistic work by students for the critical review of faculty members. It is therefore of the utmost importance that students at all times provide their instructors with an accurate sense of their current abilities and knowledge in order to receive appropriate constructive criticism and advice. Any attempt to evade that essential, transparent transaction between instructor and student through plagiarism or cheating is educationally self-defeating and a grave violation of Tisch School of the Arts community standards. For all the details on plagiarism, please refer to page 10 of the Tisch School of the Arts, Policies and Procedures Handbook, which can be found online at: http://students.tisch.nyu.edu/page/home.html

Use of Free and Open Source Code from Examples

The following is adapted by permission from Golan Levin’s Interactivity and Computation Course (Fall 2018) at Carnegie Mellon University.

You must cite the source of any code you use. Please note the following expectations and guidelines:

Check the License. When using others' code, pay attention to the license under which it has been released, and be certain to fulfill the terms and requirements of those licenses. Descriptions of common licenses, and their requirements, can be found at choosealicense.com. Some licenses may require permission. If you are confused or aren’t sure how to credit code, ask one of the course instructors and make your best good faith effort. Not properly citing code sources is grounds for a 0 on an assignment.

Use Libraries. The use of general, repurposable libraries is strongly encouraged. The people who developed and contributed these components to the community worked hard, often for no pay; acknowledge them by citing their name and linking to their repository.

Be Careful. It sometimes happens that an artist places the entire source code for their sketch or artwork online, as a resource from which others can learn. Assignments given in new-media arts courses are often similar; you may also discover the work of a student in some other class or school, who has posted code for a project which responds to a similar assignment. You should probably avoid this code. At the very least, you should be careful about approaching such code for possible re-use. If it is necessary to do so, it is best to extract components that solve a specific technical problem, rather than those parts which operate to create a poetic experience. Your challenge, if and/or when you work with others' code, is to make it your own. It should be clear that downloading an artwork from someone's GitHub and simply changing the colors would be disgracefully lazy. And doing so without proper citation would be outright plagiarism.

Statement on Accessibility

Please feel free to make suggestions to your instructor about ways in which this class could become more accessible to you. Academic accommodations are available for students with documented disabilities. Please contact the Moses Center for Students with Disabilities at 212 998-4980 for further information. Statement on Counseling and Wellness

Your health and safety are a priority at NYU. If you experience any health or mental health issues during this course, we encourage you to utilize the support services of the 24/7 NYU Wellness Exchange 212-443-9999. Also, all students who may require an academic accommodation due to a qualified disability, physical or mental, please register with the Moses Center 212-998-4980. Please let your instructor know if you need help connecting to these resources.

Statement on Title IX

Tisch School of the Arts to dedicated to providing its students with a learning environment that is rigorous, respectful, supportive and nurturing so that they can engage in the free exchange of ideas and commit themselves fully to the study of their discipline. To that end Tisch is committed to enforcing University policies prohibiting all forms of sexual misconduct as well as discrimination on the basis of sex and gender. Detailed information regarding these policies and the resources that are available to students through the Title IX office can be found by using the following link: Title IX at NYU.