- Notifications
You must be signed in to change notification settings - Fork24
A JavaScript library for creating real-time 2D and 3D shaders. JS -> Shader.https://shaderpark.com/https://twitter.com/shaderpark
License
shader-park/shader-park-core
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Shader Park simplifies creating procedural graphics using javascript.
With just a few lines of code, create shaders which are:
- Animated
- Interactive
- 2D or 3D
Try thelive editor ✍️
Browse theInteractive Documentation 📖
Build from workingTemplate/Example Projects 🛠️
Join the community onDiscord 💬
- webpages
- threejs
- touchdesigner
- unity (under development)
Explorehundreds of examples
npm install shader-park-core
See examples onglitch
npm run toThreeJS my-sculpture.js
npm run toOffline my-sculpture.js
npm run toRawSDF4Meshing my-sculpture.js
In shader-park-core repo runnpm link
oryarn link
In shader-park-website repo runnpm link shader-park-core
oryarn link shader-park-core
The simple cli tools in the converters directory are simple examples of how the API can be used. (TODO, put more examples in readme, and examples folder)For now, explore the available functions in index.js, and see their implementations in the targets directory.
- Implement a class in targets that converts sculpt to the format your target requires (see existing targets for example of available tools for this)
- Expose the functions externally in index.js
- Implement a basic cli converter, (for now this means just copy-pasting an existing converter and swapping out the single converter function. The boilerplate could be factored out and the cli converters could be automatically generated) and use as a cli tool, or use API directly.
About
A JavaScript library for creating real-time 2D and 3D shaders. JS -> Shader.https://shaderpark.com/https://twitter.com/shaderpark
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.