shader-park/shader-park-core
소개
실시간 2D 및 3D 셰이더를 만들기 위한 JavaScript 라이브러리입니다. JS -> Shader. https://shaderpark.com/ https://twitter.com/shaderpark
디자인 및 미디어측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- +2
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalShader Park simplifies creating procedural graphics using javascript.
With just a few lines of code, create shaders which are:
- Animated
- Interactive
- 2D or 3D

Try the live editor ✍️
Browse the Interactive Documentation 📖
Build from working Template/Example Projects 🛠️
Join the community on Discord 💬
Easily integrated with:
- webpages
- threejs
- touchdesigner
- unity (under development)
Explore hundreds of examples

Install
npm install shader-park-core
Usage
See examples on glitch
CLI usage:
npm run toThreeJS my-sculpture.jsnpm run toOffline my-sculpture.jsnpm run toRawSDF4Meshing my-sculpture.js
For development with SP website:
In shader-park-core repo run
npm link
or
yarn link
In shader-park-website repo run
npm link shader-park-core
or
yarn link shader-park-core
API usage:
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.
To add new targets:
- 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.
관련 프로젝트 살펴보기
불러오는 중…
