Commit Graph

358 Commits

Author SHA1 Message Date
Rezmason
6663c92f99 Removing holoplay for now. 2025-05-06 08:15:57 -07:00
Rezmason
f3cd449c7d Added WebGPU support and added caching to the WebGPU version. 2025-05-05 19:07:36 -07:00
Rezmason
664f484723 Component now reuses its canvas. regl implementation reuses its regl instance, and caches resources that already loaded. 2025-05-05 18:59:18 -07:00
Rezmason
237990b44c Ran the format script 2025-05-05 08:52:35 -07:00
Rezmason
7a10893486 Installed prettier and added the format script to the project 2025-05-05 08:51:48 -07:00
Rezmason
6183accac5 Repairing the bloom 2025-05-04 22:00:53 -07:00
Rezmason
42011c3c19 Running npm audit fix 2025-04-24 11:48:40 -07:00
nohren
3bc0d5d346 Matrix React component 1.0.0 2025-04-24 08:54:03 -07:00
Rezmason
5ba9049045 Adding SVGs of the resurrections glyphs 2024-10-31 00:16:01 -07:00
Rezmason
cee10bb1de Adding glyphFlip and glyphRotation parameters. 2024-09-10 21:41:59 -07:00
Rezmason
f14651c2b2 Initializing the regl double buffer with an array of zeroes, to overwrite any garbage values that a browser may have left in there. 2024-06-27 12:48:11 -07:00
Rezmason
bbd32f83f4 Add links in README to conceptual demonstrations 2023-11-24 00:49:11 -08:00
Rezmason
eec6e05467 Update README.md 2023-09-29 08:41:06 -07:00
Rezmason
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. 2022-11-30 19:56:55 -08:00
Rezmason
1fc4f1f34e Posting roadmap before cutting a branch to support live config updates 2022-11-15 02:33:37 -08:00
Rezmason
4cc4d9191e Removing some unused code from bloom 2022-11-01 08:07:34 -07:00
Rezmason
316d740322 WGSL now requires casting before >= I guess 2022-11-01 08:07:08 -07:00
Rezmason
acc21ef1f4 Separated cursor and glint intensities from their colors, which can now safely reside in their color spaces. 2022-11-01 08:05:48 -07:00
Rezmason
c7fafcdb13 Adding neomatrixology's glyphs and version 2022-10-13 19:50:35 -07:00
Rezmason
f0898e7ecf All non-trivial shaders are now loaded from files. 2022-10-11 21:27:46 -07:00
Rezmason
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.
2022-10-11 09:25:24 -07:00
Rezmason
3843dd90d1 Moving bloom strength math to the combine steps, and fixing a redundant multiply issue in the REGL based renderer 2022-10-04 21:53:53 -07:00
Rezmason
507f907096 Fixing the resize logic 2022-10-04 21:52:44 -07:00
Rezmason
6986ed45f5 Removed flipY from REGL renderer's texture load function, to increase similarity between renderer implementations and rule out a sampling discrepancy 2022-10-04 21:48:21 -07:00
Rezmason
4f257b87f7 Fixed SDF math; texture dimensions were accessed before they loaded in the REGL-based renderer 2022-10-04 21:46:26 -07:00
Rezmason
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. 2022-10-03 23:45:56 -07:00
Rezmason
fb3fb89d95 Softening the MSDF, ready to move on 2022-10-02 20:47:52 -07:00
Rezmason
51faabfbe6 Corrected the MSDF logic in the GLSL and WGSL shaders, which fixed the rendering in Chrome's software renderer. 2022-10-02 20:35:12 -07:00
Rezmason
95b67d1dad Detect and advise against running through SwiftShader 2022-10-02 13:20:50 -07:00
Rezmason
87bd6c1681 Adding a "testFix" URL variable to help test potential fixes to open bugs in production. 2022-10-01 21:01:06 -07:00
Rezmason
e9b9df97d8 Update README.md 2022-10-01 19:35:15 -07:00
Rezmason
f5e0226b44 Update README with clarification 2022-10-01 17:00:23 -07:00
Rezmason
e3fb42d862 Update README.md 2022-09-30 22:38:39 -07:00
Rezmason
dd7692dfc5 Left in a console log by mistake 2022-09-30 00:12:48 -07:00
Rezmason
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 2022-09-30 00:11:22 -07:00
Rezmason
7e2acde979 Fixing the transPride and pride stripe colors in the regl code 2022-09-29 22:44:49 -07:00
Rezmason
f1c719fbd3 Well that's one way to break a markdown file. Fixing. 2022-09-29 22:25:54 -07:00
Rezmason
8f90edb516 Updating Readme to link to friends of the project and the Vice article 2022-09-29 22:15:01 -07:00
Rezmason
2ab9699b4e Adding palette URL variable support, HSL URL variables, and RGB aliases for the existing color URL variables. 2022-09-29 22:15:01 -07:00
Rezmason
3828203876 All colors are now color objects 2022-09-29 22:15:01 -07:00
Rezmason
22dd5e8678 RGBs in config are no longer flat 2022-09-29 22:15:01 -07:00
Rezmason
67cfdcb132 Palette pass now accepts colors regardless of their color space 2022-09-29 22:15:01 -07:00
Rezmason
cde709b044 Renaming paletteEntries to palette 2022-09-29 22:15:01 -07:00
Rezmason
22458dad93 Merge pull request #29 from aprescott/patch-1
Update stated bloom defaults in README
2022-09-28 18:00:11 -07:00
Adam Prescott
6fd4a8e219 Update stated bloom defaults in README
Visual checks revealed that the default `bloomStrength` was not `1.0`, but
something lower.

Default config code in `config.js` confirms it is `0.7`. I noticed the same
issue for `bloomSize` while I was there.
2022-09-28 13:48:10 -04:00
Rezmason
44ce50b6d5 Updating pride and trans pride stripe colors to match what's on Wikipedia 2022-09-27 12:18:32 -07:00
Rezmason
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) 2022-09-26 09:37:38 -07:00
Rezmason
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. 2022-09-25 19:43:51 -07:00
Rezmason
d3c2773f4f Merge pull request #22 from semmel/patch-1
Fullscreen when added as "Bookmark" to iOS Homescreen
2022-09-24 21:43:13 -07:00
Rezmason
f07bf7bceb Fixing a bug introduced with skipIntro 2022-09-24 21:39:05 -07:00