Skip to content

Instantly share code, notes, and snippets.

View beryann's full-sized avatar

Beryann Parker beryann

View GitHub Profile
@beryann
beryann / Vision du Paradis
Created November 21, 2024 09:50
Une vision du Paradis/A vision of Paradise
osc(5, 0.2, 0.8)
.repeat(4, 4,() => Math.sin(time), () => Math.sin(time/2) )
.modulate(osc(10), 0.3)
.mult(noise(10).kaleid(20))
.saturate(20)
.invert()
.out()
@beryann
beryann / Schuffle1.js
Created November 20, 2024 10:49
A basic shuffle rhythm with Strudel
n("<[0@2 0] [4@2 4] [5@2 5] [4@2 4]>*4")
.scale("<C2:mixolydian F2:mixolydian G2:mixolydian>/2")
.sound("gm_acoustic_bass").cpm(30)
@beryann
beryann / Valse.rb
Created November 18, 2024 14:36
Valse with Sonic Pi
use_bpm 120
live_loop :valse1 do
sample :bd_haus, amp: 2
sleep 3
end
use_synth :organ_tonewheel
live_loop :temps1 do
play :a3, amp: 2
@beryann
beryann / Simplifications numériques
Created November 14, 2024 08:48
Simplifications numériques in hydra video synth
speed = 0.005
osc(50, 0.5, 2)
.modulatePixelate(osc(10), 10)
.luma(0.5,0.1)
.colorama(-0.1)
.scale(10)
.kaleid(10,10)
.posterize()
.pixelate([100,40,20,70].fast(0.25))
@beryann
beryann / Galaxies fugitives.js
Created November 13, 2024 09:13
Galaxies fugitives with Hydra video synth
speed = 1.5
noise(10)
.color(() => Math.sin(time), 0.3, 0.9)
.modulate(gradient(), 0.2)
.luma(0.5, 0.3)
.modulate(gradient(0.8))
.colorama(-20)
.scale(3)
@beryann
beryann / Unknown Form.js
Created November 12, 2024 10:35
"Unknown form" with Hydra video synth
src(s0)
shape(3, 0.01, 0.5)
.colorama(20)
.saturate(() => Math.sin(time * 30))
.modulate(noise(4), 0.5)
.colorama(2)
.luma(0.5, 0.4)
.scale(0.7)
.diff(gradient(4), 0.5)
@beryann
beryann / cheval numérique.js
Created November 8, 2024 10:39
cheval numérique in Hydra video synth
s0.initVideo("https://upload.wikimedia.org/wikipedia/commons/b/bf/Altai_Nature_Vargan_from_Alone_1931.webm")
src(s0)
.modulate(osc(5))
.colorama(0.2)
.repeat(()=>Math.sin(time*0.01),()=>Math.sin(time*0.01).fast(0.2))
.modulate(s0,0.1)
.out()
@beryann
beryann / Rotating Forms
Created November 6, 2024 08:44
Rotating Forms in Hydra video synth
speed = 0.5
gradient(0.25)
.diff(noise(), ()=>Math.sin(time))
.colorama(2)
.mult(shape(2))
.mult(shape(()=>Math.sin(time)*5))
@beryann
beryann / Digital chinese landscape.js
Created November 1, 2024 09:27
Digital chinese landscape seen in Hydra video synth
speed = 0.5
s0.initImage("https://upload.wikimedia.org/wikipedia/commons/thumb/4/42/Shaqi_jrvej.jpg/640px-Shaqi_jrvej.jpg")
src(s0)
feedbackIntensity = .3
src(s0).blend(s0).colorama(feedbackIntensity / 15)
.modulatePixelate(noise(25,0.5),400)
.saturate(10)
@beryann
beryann / Cadavre exquis.js
Created October 31, 2024 18:12
Cadavre exquis in Hydra video synth
speed = 0.01;
shape(6, 1.311, 0.935)
.diff(shape(8.619, 1.431, 0)
.color(1, 1, 1))
.layer(shape(6, 0.761, 0)
.diff(shape(5.761, .87, 0)
.color(() => Math.random(20), 1, 1))
.repeat(7.074, 11.872)
.mask(shape(6, .74, 0)))
.repeat(1, 1, () => Math.sin(time), () => Math.sin(time / 2))