Programming for Visual Artists

ARTS-A0701 – Digital Art 1

2024 - Lecture 2

Today

  • Revisiting shapes and coordinates, introducing randomness
  • Introducing colour modes and variables

Artworks

Revisiting shapes and coordinates, introducing randomness

Inspiration from Ryoji Ikeda

Random

Introducing colour modes and variables

Inspiration from Josef Albers

Josef Albers

Color Modes

HSV_color_solid_cylinder.png: SharkDderivative work: SharkD  Talk, CC BY-SA 3.0 via Wikimedia Commons

Variables

p5 has predefined variables we already used

width

mouseX

mouseY

 

more: https://www.youtube.com/watch?v=RnS0YNuLfQQ

Declaring a variable:

let variableName = 1234;

let anotherVariable = "Save this";

Use 'let' instead of 'var'

Why?

Assignment 2

  • Create a geometric composition with a generative colour scheme

Programming for Visual Artists, lecture 2

By otso_havanto

Programming for Visual Artists, lecture 2

  • 600