Commit Graph

  • 53e7e42c15 Removing extra formatting step from test-bundles nohren/rezmason-changes Rezmason 2025-06-02 19:12:00 -07:00
  • 068e366e30 Added a non-vite test, to be sure the rolled up libraries can run outside a bundler. Currently, they can't. Rezmason 2025-05-29 20:34:10 -07:00
  • 00805c884e Ran formatter. Rezmason 2025-05-29 20:33:16 -07:00
  • 41f2f837c3 Fixed a typo in the format script Rezmason 2025-05-29 20:32:45 -07:00
  • 0ff8e99e75 Added some files that were git-ignored because of their directory name "build". Rezmason 2025-05-26 17:07:15 -07:00
  • 0884c6a4de WebGPU Renderer now awaits the submitted work in the old device's queue before destroying it Rezmason 2025-05-26 12:03:52 -07:00
  • 83f1eb07c3 Update renderer.js Jeremy Sachs 2025-05-25 09:36:59 -07:00
  • b6570de106 Fixed some major bugs: the WebGPU cache should store loaded images and text, never GPU resource handles; renamed renderer "formulate" to "configure"; WebGPU renderer's configure function needs early returns after each major await, in case there's a new config; the render loops are now locally stored closures; renderers now have start and stop functions; fixed bugs in the REGL and WebGPU mirror passes; WebGPU bloom pass now enforces texture dimensions are greater than zero; the react component now stores the renderer type in a useRef and returns early from renderer init awaits to prevent multiple renderers from instantiating. nohren/vite Rezmason 2025-05-25 03:30:26 -07:00
  • 1da1feb356 Converting tabs to spaces in TODO.txt and the quilt pass fragment shader Rezmason 2025-05-23 12:50:29 -07:00
  • 3b837c6f06 Massive overhaul: the renderers are now classes that implement Renderer; replaced webpack and rollup with vite; converted bundle-contents to "core" and "full" bundle profiles; renamed "inclusions" to "staticAssets", which are "url" base64-encoded images and "raw" text strings; renamed the Matrix component module to the JSX extension; built out a test scaffold at tools/test/index.html to manually test the various deploy options. Rezmason 2025-05-23 12:49:10 -07:00
  • 658f07c6ab Code intended to leverage imports in the load functions. Rezmason 2025-05-20 07:59:20 -07:00
  • f61a4e29c9 Added cache check to WebGPU renderer's loadShader method. Un-commented entries into config.js. Inclusions are now explicit dynamic import lambdas, so the cache functions can detect and call them; however, webpack and rollup seem to use them differently. Rezmason 2025-05-20 07:57:27 -07:00
  • 24e939008e Added some other basic inputs to see how continuous changes of various values affect the component render Rezmason 2025-05-15 03:06:19 -07:00
  • 45059c4e29 Removing unnecessary trick in inclusions.js that was meant to prevent tree shaking of the imported resources. Rezmason 2025-05-15 01:39:39 -07:00
  • b7085c5bf7 Implementing and verifying the integrity of the cleanup function on the core useEffect Rezmason 2025-05-15 01:36:28 -07:00
  • 76e0311cfd Replacing the symbol-use pattern in rendered SVG with groups with their contents set to the innerHTML of the asset SVG symbols. The background rectangle's size is now explicitly the size of the viewBox. Culling more glyphs that aren't visible to the eye (for now, at least). svg-renderer Rezmason 2025-05-14 05:33:56 -07:00
  • 3fef805c1f The SVG is now given a black rectangle as a background, and its top level element now has the proper xmlns attribute. Double-clicking the SVG renderer downloads the SVG as a file called "matrix.svg". Rezmason 2025-05-13 18:20:51 -07:00
  • 4bf94d7883 Added glyph SVGs, and began implementing the rain pass. Rezmason 2025-05-10 19:35:19 -07:00
  • 31793a5ece Beginning work on an SVG renderer that creates a static vector graphic version of the effect Rezmason 2025-05-09 12:49:00 -07:00
  • 22241924c9 regl's destroy function destroys all resources created with it; so does GPUDevice::destroy. Rezmason 2025-05-08 18:11:06 -07:00
  • 319b53919b Testing hot-swapping renderers, which requires destroying and rebuilding the canvas after all. Fixed a few other related bugs and moved the imports into "bundle-contents.js". Rezmason 2025-05-08 12:52:48 -07:00
  • a1332d8f1a Separating the resource imports from the Matrix.js module Rezmason 2025-05-07 18:06:15 -07:00
  • eea341f50c Exploring ways to preserve the vanilla JS browser demo without compromising on the bundle. Experimenting with embedding images in the bundle as data URIs Rezmason 2025-05-06 12:59:02 -07:00
  • 6663c92f99 Removing holoplay for now. Rezmason 2025-05-06 08:14:03 -07:00
  • f3cd449c7d Added WebGPU support and added caching to the WebGPU version. Rezmason 2025-05-05 19:07:36 -07:00
  • 664f484723 Component now reuses its canvas. regl implementation reuses its regl instance, and caches resources that already loaded. Rezmason 2025-05-05 18:59:18 -07:00
  • 237990b44c Ran the format script Rezmason 2025-05-05 08:52:35 -07:00
  • 7a10893486 Installed prettier and added the format script to the project Rezmason 2025-05-05 08:51:48 -07:00
  • 6183accac5 Repairing the bloom Rezmason 2025-05-04 22:00:53 -07:00
  • 42011c3c19 Running npm audit fix Rezmason 2025-04-24 11:48:40 -07:00
  • 3bc0d5d346 Matrix React component 1.0.0 nohren 2023-08-07 02:03:46 -07:00
  • 4f76dbc334 Updated TODO list Rezmason 2025-04-23 22:07:02 -07:00
  • 5ba9049045 Adding SVGs of the resurrections glyphs master nohren/dev Rezmason 2024-10-31 00:16:01 -07:00
  • cee10bb1de Adding glyphFlip and glyphRotation parameters. Rezmason 2024-09-10 21:41:59 -07:00
  • f14651c2b2 Initializing the regl double buffer with an array of zeroes, to overwrite any garbage values that a browser may have left in there. Rezmason 2024-06-27 12:46:33 -07:00
  • bbd32f83f4 Add links in README to conceptual demonstrations Rezmason 2023-11-24 00:49:11 -08:00
  • eec6e05467 Update README.md Rezmason 2023-09-29 08:41:06 -07:00
  • 1955ac5c46 Down to one file. simplified Rezmason 2023-08-25 12:21:31 -07:00
  • e15b4495ca data URL Rezmason 2023-08-25 12:16:01 -07:00
  • d9e357685e rename Rezmason 2023-08-25 12:12:51 -07:00
  • 5c249f7b31 Merging JS together Rezmason 2023-08-25 12:11:10 -07:00
  • 88a6a59296 Reducing unraveled JS by creating utility functions Rezmason 2023-08-25 11:35:45 -07:00
  • 428f1d7d16 Further smushing Rezmason 2023-08-25 09:17:06 -07:00
  • 839e261727 Replacing the old project with the new project, using the "unraveled" WebGL calls Rezmason 2023-08-25 09:11:24 -07:00
  • 00c7f42ce4 Using webgl-debug to emit the low-level WebGL API calls from the regl project Rezmason 2023-08-25 09:10:19 -07:00
  • d1f00e7e42 Crushed down the config, removed a ton more inessential stuff Rezmason 2023-08-23 11:28:29 -07:00
  • 2d97f764f5 Combining the rain pass's compute shaders Rezmason 2023-08-22 11:46:29 -07:00
  • 7a4f8b0e0b Further gouging. Rezmason 2023-08-22 10:19:56 -07:00
  • c231935475 Gouging a simpler project out of the larger project. Rezmason 2023-08-22 10:08:48 -07:00
  • 91201830f8 You can now suppress warnings with suppressWarnings. This should be used for any warning that may appear in the future. Also, clicking the button to proceed in the warning notice appends suppressWarnings to the URL parameters. Rezmason 2022-11-30 19:46:04 -08:00
  • 1fc4f1f34e Posting roadmap before cutting a branch to support live config updates Rezmason 2022-11-15 02:33:37 -08:00
  • 4cc4d9191e Removing some unused code from bloom Rezmason 2022-11-01 08:07:34 -07:00
  • 316d740322 WGSL now requires casting before >= I guess Rezmason 2022-11-01 08:07:08 -07:00
  • acc21ef1f4 Separated cursor and glint intensities from their colors, which can now safely reside in their color spaces. Rezmason 2022-11-01 08:05:48 -07:00
  • c7fafcdb13 Adding neomatrixology's glyphs and version Rezmason 2022-10-13 19:50:35 -07:00
  • f0898e7ecf All non-trivial shaders are now loaded from files. Rezmason 2022-10-11 21:27:46 -07:00
  • e8be232e9b Fixing several embarrassing bugs. WebGPU and REGL projects now flipY again, and they properly flip the symbolY glyph coordinate in the rain pass's fragment shader. Switching on some older code that was disabled for FF Nightly support— it makes more sense to wait for that support as implementations finalize. Added mipmap to images loaded into REGL project. Rezmason 2022-10-11 09:25:24 -07:00
  • c3e2ddf843 Taking a crack at an audio system audio_system Rezmason 2022-09-22 21:03:54 -07:00
  • 3843dd90d1 Moving bloom strength math to the combine steps, and fixing a redundant multiply issue in the REGL based renderer Rezmason 2022-10-04 21:53:53 -07:00
  • 507f907096 Fixing the resize logic Rezmason 2022-10-04 21:52:44 -07:00
  • 6986ed45f5 Removed flipY from REGL renderer's texture load function, to increase similarity between renderer implementations and rule out a sampling discrepancy Rezmason 2022-10-04 21:48:21 -07:00
  • 4f257b87f7 Fixed SDF math; texture dimensions were accessed before they loaded in the REGL-based renderer Rezmason 2022-10-04 21:46:26 -07:00
  • b86b97fde9 Adding an FPS argument. The renderers now determine whether the current frame should be rendered, and passes use that to determine whether to render or not. The rain pass, however, will still update the simulation at full speed. Rezmason 2022-10-03 23:45:56 -07:00
  • fb3fb89d95 Softening the MSDF, ready to move on Rezmason 2022-10-02 20:47:52 -07:00
  • 51faabfbe6 Corrected the MSDF logic in the GLSL and WGSL shaders, which fixed the rendering in Chrome's software renderer. Rezmason 2022-10-02 20:35:12 -07:00
  • 95b67d1dad Detect and advise against running through SwiftShader Rezmason 2022-10-02 13:20:50 -07:00
  • 87bd6c1681 Adding a "testFix" URL variable to help test potential fixes to open bugs in production. Rezmason 2022-10-01 10:12:56 -07:00
  • e9b9df97d8 Update README.md Rezmason 2022-10-01 19:35:15 -07:00
  • f5e0226b44 Update README with clarification Rezmason 2022-10-01 17:00:23 -07:00
  • e3fb42d862 Update README.md Rezmason 2022-09-30 22:38:39 -07:00
  • dd7692dfc5 Left in a console log by mistake Rezmason 2022-09-30 00:12:48 -07:00
  • d85594a46c Vertically offsetting glyph columns by a random fraction of the height of a glyph when the volumetric mode is on, to prevent odd visual alignments Rezmason 2022-09-30 00:11:22 -07:00
  • 7e2acde979 Fixing the transPride and pride stripe colors in the regl code Rezmason 2022-09-29 22:44:49 -07:00
  • f1c719fbd3 Well that's one way to break a markdown file. Fixing. Rezmason 2022-09-29 22:25:54 -07:00
  • 8f90edb516 Updating Readme to link to friends of the project and the Vice article Rezmason 2022-09-29 22:14:53 -07:00
  • 2ab9699b4e Adding palette URL variable support, HSL URL variables, and RGB aliases for the existing color URL variables. Rezmason 2022-09-29 21:04:16 -07:00
  • 3828203876 All colors are now color objects Rezmason 2022-09-28 09:57:42 -07:00
  • 22dd5e8678 RGBs in config are no longer flat Rezmason 2022-09-28 08:49:09 -07:00
  • 67cfdcb132 Palette pass now accepts colors regardless of their color space Rezmason 2022-09-27 22:44:47 -07:00
  • cde709b044 Renaming paletteEntries to palette Rezmason 2022-09-27 22:30:50 -07:00
  • 22458dad93 Merge pull request #29 from aprescott/patch-1 Rezmason 2022-09-28 18:00:11 -07:00
  • 6fd4a8e219 Update stated bloom defaults in README Adam Prescott 2022-09-28 13:48:10 -04:00
  • 44ce50b6d5 Updating pride and trans pride stripe colors to match what's on Wikipedia Rezmason 2022-09-27 12:18:32 -07:00
  • 0475f05029 Switching the default renderer to regl for now, since some folks are seeing issues with the WebGPU renderer and I'm actively investigating its "bloom issues" (which seem to involve bloomStrength and texture/sampler differences) Rezmason 2022-09-26 09:37:38 -07:00
  • beb70473aa Fixed a WebGPU sequencing issue when skipIntro=true&once=false, caused by updating the cells and intro cells in the same compute pass. The WebGPU and REGL projects are now also slightly more alike. Rezmason 2022-09-25 19:22:35 -07:00
  • d3c2773f4f Merge pull request #22 from semmel/patch-1 Rezmason 2022-09-24 21:43:13 -07:00
  • f07bf7bceb Fixing a bug introduced with skipIntro Rezmason 2022-09-24 21:39:05 -07:00
  • b4c555c912 Fullscreen when added as "Bookmark" to iOS Homescreen Matthias Seemann 2022-09-24 21:45:15 +02:00
  • e76c9cf7be Update README.md Rezmason 2022-09-24 07:34:52 -07:00
  • 679580a394 Theatrics— first column is in the middle, next one's over to the side, then they all join in Rezmason 2022-09-24 07:16:01 -07:00
  • 965e21d3ba Adding intro and skipIntro option Rezmason 2022-09-24 06:47:16 -07:00
  • 4ed481c8b5 Merge pull request #19 from sshine/patch-1 Rezmason 2022-09-23 18:03:32 -07:00
  • ba4dec195f Add https:// to fix link Simon Shine 2022-09-23 14:26:30 +02:00
  • fb16a9b855 Adjusting the textures, still not super happy with them but they can be replaced later Rezmason 2022-09-19 20:41:23 -07:00
  • 5f544091a9 Deferring the holoplay import until it's determined that it's needed. Changing the holoplay effect version a little. Rezmason 2022-09-18 22:30:10 -07:00
  • b0406978d7 It's hard to tune the glint brightness and contrast Rezmason 2022-09-18 19:46:26 -07:00
  • d9b68b4669 Trinity tweak and updated the readme Rezmason 2022-09-17 21:06:20 -07:00
  • 5feecd7b78 Brighten Trinity version Rezmason 2022-09-17 13:57:31 -07:00
  • b950bd90c7 Updating screenshot Rezmason 2022-09-17 13:53:48 -07:00
  • e2be02c498 Added textures to base and glint shapes. Rezmason 2022-09-17 13:51:48 -07:00