diff --git a/README.md b/README.md new file mode 100644 index 0000000..2ea0a02 --- /dev/null +++ b/README.md @@ -0,0 +1,10 @@ +# Hydra + +> PLN's Hydra Livecoding works + +Runs with [atom-hydra](https://github.com/ojack/atom-hydra) or on [Hydra](https://hydra.ojack.xyz/). + +Work is done rendering all buffers with `render()`, most of the time the actual result will be `render(o3)`: + +![Work in progress: Dusty Halley](./output/WIP_DustyHalley.png) +![Work in progress: GaLactic](./output/WIP_GaLactic.png) diff --git a/StarryNights/DustyHalley.js b/StarryNights/DustyHalley.js index 2fae64d..4927168 100644 --- a/StarryNights/DustyHalley.js +++ b/StarryNights/DustyHalley.js @@ -1,14 +1,17 @@ // Based on NASA LSPN-1725 (Comet P/Halley as taken March 8, 1986 by W. Liller, Easter Island) -s0.initImage("/home/pln/Work/Hydra/StarryNights/img/halley.png"); +s0.initImage("https://git.plnech.fr/pln/Hydra/raw/master/StarryNights/img/halley.png"); src(s0).out(o0) src(o0) - .modulate(src(o0),() => Math.sin(time/200) / 10) + .modulate(src(o0),() => Math.sin(time/100) / 10) .out(o1) src(o1) .modulateScale(osc(1,0.4),0.05) + .blend(noise(100,0.92).colorama(),0.07) .out(o2) src(o2) .blend(src(o2).thresh(), () => 0.5 + 0.125 * Math.sin(time / 100 % 180)) - .scale(0.989) + .scrollX(-0.05) + // .scrollY(-0.1) + .scale(1.18) .out(o3) -render(o3) +render() diff --git a/output/WIP_DustyHalley.png b/output/WIP_DustyHalley.png new file mode 100644 index 0000000..781c3f2 Binary files /dev/null and b/output/WIP_DustyHalley.png differ diff --git a/output/WIP_GaLactic.png b/output/WIP_GaLactic.png new file mode 100644 index 0000000..624a178 Binary files /dev/null and b/output/WIP_GaLactic.png differ