shader-park-core
shader-park-core copied to clipboard
A JavaScript library for creating real-time 2D and 3D shaders. JS -> Shader. https://shaderpark.com/ https://twitter.com/shaderpark
ie pow, length, ect all can do vec3 types and individual components
If I `yarn add shader-park-core` and try and use the same import code here https://github.com/shader-park/shader-park-examples/blob/main/es6-starter-template/index.js ``` import {sculptToMinimalRenderer} from 'shader-park-core'; ``` it doesn't work because this latest version (0.2.6) of...
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.22.17 to 7.23.2. Release notes Sourced from @babel/traverse's releases. v7.23.2 (2023-10-11) NOTE: This release also re-publishes @babel/core, even if it does not appear in the linked release...
- rewrite of js to glsl code, better organized with types, rely more on conversion at the ast level rather than by executing js. this will allow more programs to...
for example - vec3(vec3(0), 0, 0,) silently fails to compile and vec3(0,0,vec3(0)) silently generates code which compiles but is incorrect
This will make default code slightly more complex, but avoids the pitfall of the developer thinking is is normal javascript code that can be treated as such. This would also...
Would anyone be able to give me a demo where react-three-fiber and shader-park-core work together?