Browse Source

single screen portrait resolution

Birk Weiberg 2 years ago
parent
commit
b5bc05bd76
1 changed files with 1 additions and 1 deletions
  1. 1 1
      sketch.js

+ 1 - 1
sketch.js

1
let creatures = [];  
1
let creatures = [];  
2
2
3
function setup() {
3
function setup() {
4
  createCanvas(windowWidth, windowHeight);
4
  createCanvas(1080, 1920);
5
    noStroke();
5
    noStroke();
6
  for (let i=0; i<5; i++) {
6
  for (let i=0; i<5; i++) {
7
    creatures.push(new Creature(createVector(random(100, width-100), random(100, height-100)), random(20, 80)));
7
    creatures.push(new Creature(createVector(random(100, width-100), random(100, height-100)), random(20, 80)));