VJ UNION

Cover image for Welcome to ShaderPark
vdmo
vdmo

Posted on

Welcome to ShaderPark

A JavaScript library for creating interactive procedural 2D and 3D shaders.

https://shaderpark.com/

Explore shader programming through a JavaScript interface without the complexity of GLSL. Quickly script shaders using a P5.js style language.

shaderpark - code editor online

About ShaderPark

Shader Park is an open source web-based platform and community for creating real-time 3D graphics and animations using code. It integrates diverse computer graphics techniques into a unified programming interface designed for fast experimentation and live-coding.

Inspired by tools and communities like P5.js, Processing, Three.js, and Shader Toy, Torin Blankensmith and Peter Whidden developed Shader Park with the intention of making emerging technology in computer graphics accessible and inclusive for artists, designers, and educators.

To get started, please check these tutorials;

ShaderPark Tutorial 1

ShaderPark Tutorial 2

This tutorial will cover coordinate space modifiers, noise and reusable custom geometry.

For additional information, github and documentation, follow these links below.

ShaderPark Website: https://shaderpark.com/
ShaderPark Github: https://github.com/shader-park/
ShaderPark Documentation: https://docs.shaderpark.com/references-js/

Bonus Content - ShaderPark + TouchDesigner

You may also want to check out ways to add ShaderPark code to TouchDesigner via this repo:

GitHub logo shader-park / shader-park-touchdesigner

Render Shader Park sculptures in TouchDesigner

shader-park-touchdesigner

Render Shader Park sculptures in TouchDesigner

Download Latest Plugin

Watch the Tutorial on Using the New Plugin Watch the Tutorial on Using the New Plugin

Getting Started 🎉

Drag and drop the .tox File into your TouchDesigner project. Place down a Text DAT and paste your Shader Park code into it. Connect the Text DAT to the Shader Park plugin to render it.

Adding Uniforms / Inputs

If you use any input in your Shader Park code eg:

let size = input();
Enter fullscreen mode Exit fullscreen mode

You will need to add a uniform with the same name (in this case size). To do this go inside the Shader_Park.tox plugin and find the shader_material GLSL MAT. In the Vectors tab add in the name of the uniform. image


This project has been tested on MacOS + Windows with no node.js installed
For Windows this only run on Windows 8.1 and above. Not yet tested on Linux





Discussion (0)