Carley Johnson Portrait


/*Carley Johnson
Section E
Project 9

var img;

function preload() {
    img = loadImage("");

function setup() {
  createCanvas(400, 580);
  background(18, 121, 80);

function draw() {
  //change angle of the stroke
  var angle = random(360);
  var x = floor(random(img.width));
  var y = floor(random(img.height));
  var pix = img.get(x, y);
  //make "paint stroke"
  fill(pix, 128);
  rect(x, y, 30, 10, 10, 10, 0, 10);


This is my mother. I chose this picture for the smile, which is so fun and genuine. I actually really like this project, I missed them from last week. I feel like I learn more from the projects because I have more room to experiment and mess around with code from scratch, as opposed to the set, set of ways I can solve an assignment. I suppose that’s a very artist thing of me to say, though.

This is the original photo, isn’t she cute?!

Leave a Reply