diff --git a/README.md b/README.md index a3d91c0..836f5e1 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ - [Custom image (`url=www.website.com/picture.jpg`)](https://rezmason.github.io/matrix/?effect=image&url=https://upload.wikimedia.org/wikipedia/commons/f/f5/EagleRock.jpg) - [Raw compute texture (`effect=none`) (_epilepsy warning_: lots of flickering)](https://rezmason.github.io/matrix/?effect=none) -- [The free font (TrueType).](https://github.com/Rezmason/matrix/raw/master/Matrix-Code.ttf) +- [The free font (TrueType).](https://github.com/Rezmason/matrix/raw/master/assets/Matrix-Code.ttf) --- ### about diff --git a/TODO.txt b/TODO.txt index 4cdb575..638260f 100644 --- a/TODO.txt +++ b/TODO.txt @@ -2,8 +2,21 @@ TODO: WebGPU First decent rainRender - vertex, fragment, with noise for - data texture lookup with textureLoad + Port render pass 100% + For now, use noise instead of the data texture + Get all the uniforms in + Categorize them into buffers + Port compute pass 100% + Compute entry point can live in the same wgsl file, I think + More uniforms! Categorize! + use textureLoad for texel access in render pipeline + Render target + Resize accordingly + Put in its own module + Blur: compute or render? + The other passes should be a breeze + Just add them to the render bundle + std140 Document and share it diff --git a/Matrix-Code.ttf b/assets/Matrix-Code.ttf similarity index 100% rename from Matrix-Code.ttf rename to assets/Matrix-Code.ttf diff --git a/coptic_msdf.png b/assets/coptic_msdf.png similarity index 100% rename from coptic_msdf.png rename to assets/coptic_msdf.png diff --git a/gothic_msdf.png b/assets/gothic_msdf.png similarity index 100% rename from gothic_msdf.png rename to assets/gothic_msdf.png diff --git a/matrixcode_msdf.png b/assets/matrixcode_msdf.png similarity index 100% rename from matrixcode_msdf.png rename to assets/matrixcode_msdf.png diff --git a/msdf_command.txt b/assets/msdf_command.txt similarity index 100% rename from msdf_command.txt rename to assets/msdf_command.txt diff --git a/js/config.js b/js/config.js index 1b3d057..ffbab60 100644 --- a/js/config.js +++ b/js/config.js @@ -1,19 +1,19 @@ const fonts = { coptic: { // The script the Gnostic codices were written in - glyphTexURL: "coptic_msdf.png", + glyphTexURL: "assets/coptic_msdf.png", glyphSequenceLength: 32, glyphTextureColumns: 8, }, gothic: { // The script the Codex Argenteus was written in - glyphTexURL: "gothic_msdf.png", + glyphTexURL: "assets/gothic_msdf.png", glyphSequenceLength: 27, glyphTextureColumns: 8, }, matrixcode: { // The glyphs seen in the film trilogy - glyphTexURL: "matrixcode_msdf.png", + glyphTexURL: "assets/matrixcode_msdf.png", glyphSequenceLength: 57, glyphTextureColumns: 8, },