Computational Art (CSC 496/696-002)

Assignment 1: Github Configuration, and a work of abstract art using p5

Github

  1. Go to github.com and create an account
  2. Add your Github username to the Google Form linked on the course Canvas page (I’d link it directly here, but this website is public).
  3. Download and install Github Desktop
  4. Log into Github desktop

Create your repository for the class

  1. Open Github desktop and log in (you may need to go to Preferences->Accounts)
  2. Add a repository for the exercise
    • Name the repository exactly computational-art-spring2024 Make 100% certain you are using that exact name - all lowercase
    • Make the repository public by unchecking “Keep this repository private”
    • For Local Path put it wherever you like to keep your class files on your computer
    • Ignore the other setting options
    • Check “Initialize this repository with a README”
    • Click “Create Repository”
  3. Locate the repository folder on your computer, and a folder named assignments.
  4. Commit your changes to the repository “locally” by typing a brief summary of what you did in the Summary field (e.g. “Created the repository for comp-art” or something) and click “Commit to master” (this should be on the bottom left of the window).
  5. On the top/middle region of the screen, click “Publish repository”
  6. In the future, in order to upload your assignments to Github you will go through a similar process as what you did in the last two steps. You will need to first “commit” your changes, and then you will press the button labeled “Push origin” (located at the same place as the “Publish repository” button).

Setting up your Github repository for submitting work

p5 setup

  1. Download the p5 library (click here to download).
  2. Unzip, and then place this folder inside of your local computational-art-spring2024 folder/respository on your computer.
  3. Rename the p5 folder to assignments.
  4. Inside of that folder is a folder named empty-example. Rename that to 01_abstract.
  5. Delete the file named .gitignore inside of the 01_abstract folder. If you have hidden files hidden on your computer (which most of you probably do), you will need to use the file viewer inside of Visual Studio Code to see and then delete the file. This is important

Creative Assignment

Finally, for your creative assignment, use p5 to create an work of abstract art. Given that we are new to using p5 and making computational visuals, I expect your project to be more like abstract expressionism than a pixar movie or something. In addition to using a bunch of p5 functions, challenge yourself to make use of classes and arrays.

Write your code inside of the sketch.js file inside of the 01_abstract folder, and run your code by opening up the index.html file using a web browser.

When you are done, commit and push your changes to your repository in Github Desktop.

If everything worked, you should be able to see your assignment by going to this link:

YOUR_GIHUB_USERNAME.github.io/computational-art-spring2024/assignments/01_abstract

If this doesn’t work, take a closer look at all of the above instructions. If you still have problems after carefully reviewing everything, send me an email or come to office hours.