2 Commits 3185944473 ... b5bc05bd76

Author SHA1 Message Date
  Birk Weiberg b5bc05bd76 single screen portrait resolution 1 year ago
  Birk Weiberg f672aeba68 startup options 1 year ago
2 changed files with 9 additions and 1 deletions
  1. 1 1
      sketch.js
  2. 8 0
      startup.sh

+ 1 - 1
sketch.js

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

+ 8 - 0
startup.sh

@ -6,4 +6,12 @@ git fetch
6 6
7 7
git pull
8 8
9
xrandr --output HDMI-2 --same-as HDMI-1
10
11
xrandr --output HDMI-1 --panning 3840x1080
12
13
xrandr --output HDMI-2 --pos 1080x0
14
15
autorandr --change projection
16
9 17
chromium-browser --password-store=basic --start-fullscreen http://localhost