NodeGL
It'll be convenience for hydra used
by Node.js.
First, please use the following code to read on hydra.
await loadScript("https://nodegl.glitch.me/function-list.js");
-
When you'd like to change the canvas axis to "y" perspective.
-
It can be modulated using the difference between "solid" and
"gradient" color changes.
-
You can also use functions that store trigonometric and inverse
trigonometric functions to change the video.
-
The options available within hydra's "ease" function can also be
easily specified.
-
Variables can be defined sequentially and the last variable among them
can be used. (It can also be used outside of hydra.)
-
Two different functions can be entered, each increasing in a different
step, and the results put into an array and modulated.
-
It can generate an array from 0 to a specified number and output a
random value.
-
It can generate an array from 0 to a specified number, repeatedly
output a random value, and store it in the array again.
-
Four output videos can be looped and switched every specified number
of seconds at specified speeds.
-
Others(form, pad, particle, rbga, hsb, rainbow and zebra)
-
form(4,2,0,1,15,1/8,0).colorama(3).luma().hue(()=>Math.sin(time/10),()=>Math.cos(time/10),()=>Math.tan(time/10)).diff(gradient(1)).invert().scale(Math.PI).repeat().out();
-
pad(10,o0,4,0,1,.99).diff(osc(1,2,300).diff(gradient(1)).scale(.1)).diff(rgba(o0,1,1,1,1)).diff(hsb(o0,1,1,1/4)).invert().out();
-
gradient().blend(rainbow(3)).out();
-
osc(1,2,300).diff(gradient(1)).scale(.1).diff(particle(o0,.99)).invert().out();
-
s0.initCam();
solid().add(zebra(src(s0), 2, 4, Math.sin,
0.1)).out();
Click here for
more information.
I appreciate all hydra users or developers on
GitHub,
FB,
Twitter or
Discord, etc...
By Hirotoshi Uchida
hearthis.at
IG
Log
First commited as "NodeBook"
on Jan 19th, 2023.
Released the newest
on Apr 20th, 2023.