Skip to content

Instantly share code, notes, and snippets.

View snailmusic's full-sized avatar
👀
working on the previous big thing

snail snailmusic

👀
working on the previous big thing
  • jemp inc
  • behind you
  • 00:24 (UTC -05:00)
View GitHub Profile
@snailmusic
snailmusic / dropzle.tas
Created July 6, 2023 19:26
tas of dropzle from the strawberry jam collab beginner lobby
RecordCount: 263
#Start
5,S
5,D
5,J
10
5,J
100
10,J
(
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
)
));
/* 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%);
We couldn’t find that file to show.
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]}"