This file contains 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
RecordCount: 263 | |
#Start | |
5,S | |
5,D | |
5,J | |
10 | |
5,J | |
100 | |
10,J |
This file contains 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
( | |
SynthDef.new(\raindrop, { | |
arg freq=800, vol=0.1, decay=0.1, pan=0, out=0, minspeed=0.2, maxspeed=3; | |
var sig, sig2, env, env2, pulseSpeed; | |
pulseSpeed = LFNoise0.kr(5).range(minspeed, maxspeed); | |
env = EnvGen.kr(Env.perc(releaseTime:decay), Trig.kr( | |
Impulse.kr( | |
pulseSpeed | |
) | |
)); |
This file contains 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
/* blue is default cuz it looks nice :) */ | |
:root { | |
--hue: 201; | |
--bg-main: hsl(0, 0%, 13%); | |
--bg-dark: hsl(0, 0%, 10%); | |
--bg-light: hsl(0, 0%, 20%); | |
--bg-lighter: hsl(0, 0%, 32%); | |
--accent-main: hsl(var(--hue), 100%, 68%); | |
--accent-dark: hsl(var(--hue), 89%, 57%); | |
--accent-light: hsl(var(--hue), 97%, 75%); |
This file contains 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
x = [0,0] | |
y = [0,0] | |
x[0] = int(input("x1: ")) | |
y[0] = int(input("y1: ")) | |
x[1] = int(input("x2: ")) | |
y[1] = int(input("y2: ")) | |
slope = [y[1]-y[0],x[1]-x[0]] | |
slopestr = f"{slope[0]}/{slope[1]}" |