-
Pull the norns repository
-
Make symbolic links from norns sc folders -> SuperCollider Extensions folder:
ln -s ~/Developer/monome/norns/sc/core ~/Library/Application\ Support/SuperCollider/Extensions/monome-norns-coreln -s ~/Developer/monome/norns/sc/engines ~/Library/Application\ Support/SuperCollider/Extensions/monome-norns-enginesln -s ~/Developer/monome/norns/sc/ugens ~/Library/Application\ Support/SuperCollider/Extensions/monome-norns-ugens
-
Make symlinks to Norns community repos e.g.
ln -s ~/Developer/monome/we/ ~/Library/Application\ Support/SuperCollider/Extensions/monome-we -
Make symlinks for custom engine development
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| norns.script.load("agents/random_walkers.lua") | |
| # script load: /home/we/dust/agents/random_walkers.lua | |
| # cleanup | |
| # script clear | |
| ### SCRIPT ERROR: load fail | |
| /home/we/dust/agents/random_walkers.lua:36: module 'agents/lib/world' not found: | |
| no field package.preload['agents/lib/world'] | |
| no file '/home/we/norns/lua/agents/lib/world.lua' | |
| no file '/home/we/norns/lua/core/agents/lib/world.lua' | |
| no file '/home/we/norns/lua/core/params/agents/lib/world.lua' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Basic norns deploy scripts. Still requires hitting "play" in Maiden. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function setup() { | |
| createCanvas(600, 600); | |
| background(0); | |
| } | |
| function draw() { | |
| background(0); | |
| strokeWeight(9); // this sets a thick stroke width |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function setup() { | |
| createCanvas(400, 400); | |
| } | |
| function draw() { | |
| // draw the frame | |
| background("#E6E0E2"); | |
| stroke("#887987"); | |
| noFill(); | |
| rectMode(CENTER); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function setup() { | |
| createCanvas(400, 400); | |
| } | |
| function draw() { | |
| background(255); | |
| drawButton(width / 2, height / 2, 200, 100); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // p5 adaptation of: https://massmoca.org/event/walldrawing160/ | |
| let angle = 0; | |
| let x = 50; | |
| let y = 50; | |
| let step = 0; // you were missing this variable so the sketch didn't run | |
| function setup() { | |
| createCanvas(800, 800); | |
| angleMode(DEGREES) | |
| frameRate(10); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function setup() { | |
| createCanvas(400, 400); | |
| background(220); | |
| noStroke(); | |
| fill(80); | |
| } | |
| function draw() { | |
| drawSpiral(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function setup() { | |
| createCanvas(400, 400); | |
| } | |
| function draw() { | |
| background(255); | |
| drawSquares(9); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| let dark = 20; | |
| let light = 180; | |
| function setup() { | |
| createCanvas(400, 400); | |
| fill(200, 100, 0); | |
| } | |
| function draw() { | |
| fill(light); |