Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 1.03 KB

README.md

File metadata and controls

16 lines (12 loc) · 1.03 KB

Fxhash p5js Shader Template

Overview

Everything you need to start a new p5.js generative art project that uses shaders for release on fx(hash).

Based on Fxhash p5js Template.

Shader resources

Notes

  • put any additional shader files into the ./shaders folder and load them in your preload() function
  • uniforms for time and resolution are passed to the shader
  • the vertex shader will apply the shader code to the vertices of a particular geometry (i.e. taking into account uProjectionMatrix and uModelViewMatrix). If you want the shader to project to the whole screen instead see the vertex shader comments
  • the minified p5.js library (v1.5.0, released on October 18, 2022) is included in the ./libraries folder. The latest version of p5.js can be found here.