- better error handling for functions
- typechecking for arrays
- updated Meyda to v5.5
- Fix 'update' function error log
- reset 'update' function when hush()
.tick()
working in non-global mode
- nested layers error
- texture params to regl sources
- hush() resets to source o0
- error in function argument formatting
- texture params to regl sources
- arrayUtils imprted to formatArguents.js
- arrayUtils imprted to formatArguents.js
- mask function now preserves earlier transparency
- bug with
src()
function in non-global mode
- additional multiple-canvas example including dereferencing
- link to
hydra-ts
- updated build version
- camera working on ios
- non-global mode
- documentation for non-global mode
- loadScript function to hydra-synth
- uses absolute position for mouse
- updated documentation
- bug in precision for shaders
- when no precision is specified, uses "highp" on ios, and "mediump" on everything else
- Fixed divide by 0 on smoothstep
- Typo on rotate function
- update for setResolution()
- warning of undefined type
- video default to muted
- wrapping for scroll, scrollX, modulateScroll functions
- initVideo(url)
- initImage(url)
- updated format for glsl-functions
- added smooth(), ease(), and fit() to array utils
- changed resize() to setResolution()
- setResolution() not scaling correctly. check whether textures are being resized
- error in eval-sandbox
- fps to set target rendering speed
fps=30
, not setting a value orfps=undefined
will render as fast as possible - when canvas is stretched, uses pixelated rendering rather than blurry
- stats.fps shows current fps (read-only)
- update function called each time a new frame is rendered. can be used like
update = (dt) => {
// something i want to do
}
- invalid function does not crash editor
- hush() function clears all screens and stops cameras
- speed variable for controlling time
- s0.initScreen() now possible with no extension installed (in chrome)
- source textures default to one pixel when no source is specified
- screen share working in FireFox
- s0.clear() stops webcam and clears texture
- removed dependency on webrtc-adapter
- changed format for defining custom functions
2.0.0
- resize() function
- updates to MakeGlobal
- eval() function on hydra synth
- dynamically add functions
- need to require hydra.synth rather than just base repo
- width and height globally defined
- update function
to do:
- ShaderGenerator [WIP], runs serverside
- check for errors on eval
- add outputs (o0, etc) and sources to shader generator