Commit Graph

47 Commits

Author SHA1 Message Date
Rezmason
a4a0406826 Ran prettier. 2022-05-04 17:42:50 -07:00
Rezmason
33497270a8 Fleshing out the megacity version, and adding it to the readme 2022-04-28 18:27:01 -07:00
Rezmason
b56f63b74b Fixing the asterisk glyph in the font and glyph sets.
Adding the megacity glyph to the font and added a megacity glyph set.
Fixed a bug in the rain pass's fragment shader that caused glyphs in the last column to go missing
2022-04-28 18:18:15 -07:00
Rezmason
d3905387fb Adding the Game Theory ARG cipher fonts. 2021-12-26 00:20:48 -08:00
Rezmason
928067996d The primary and bloom textures are now combined with a weight so that fainter bloom doesn't create a fainter overall effect. 2021-12-24 21:44:16 -08:00
Rezmason
a962a6128d Expose dither magnitude and bloom strength through URL parameters. 2021-12-24 20:02:40 -08:00
Rezmason
adada69cdf Fixes to the font configuration logic. 2021-12-21 15:13:54 -08:00
Rezmason
22f3ab4092 You can now specify the glyph font by name in the URL. 2021-12-21 15:00:15 -08:00
Rezmason
38f29ad21b You can now loop the effect. It's not super great, but it ought to make it easier to create repeating backgrounds or something. 2021-12-21 02:22:20 -08:00
Rezmason
bdd8782619 The lkg object shouldn't be retrieved from the device or spoofed unless holoplay is enabled. 2021-12-19 22:41:10 -08:00
Rezmason
1a7043a986 Moved looking glass context logic into an "lkgHelper" module. Fixed math issues. 2021-12-19 22:02:19 -08:00
Rezmason
2364bbc8bc rainPass now renders multiple cameras and viewports, using data from the hardware.
Added quiltPass (which uses holoplay’s quilting shader).
Added a holoplay effect version. (Versions can also now specify a preferred renderer.)
2021-12-19 12:08:31 -08:00
Rezmason
25e9f10f69 Adding "updated" glyph set from The Matrix Resurrections, and a corresponding effect version. 2021-12-11 22:21:24 -08:00
Rezmason
508c941fcd The glyph textures can now be rectangular, I think. 2021-12-06 22:44:18 -08:00
Rezmason
c0bd6945ed The twilight version flickered an unhealthy amount, so I lengthened its raindrops. 2021-11-15 23:52:39 -08:00
Rezmason
e95d826fb3 Adding huberfish A and D glyph sets; adding palimpsest and twilight versions. 2021-11-15 23:49:19 -08:00
Rezmason
7eecace634 My friend recommended a much simpler blur that doesn't build any image pyramids. Unfortunately my work towards an implementation isn't very promising— it doesn't pack the same wollop as the WebGL version— but I can built my pyramids on top of it. 2021-11-13 21:25:27 -08:00
Rezmason
335ff5ddb7 The main module can now pick a renderer based on the "renderer" URL parameter. 2021-11-06 05:03:38 -07:00
Rezmason
0c26cc7660 Moving assets into a subdirectory. 2021-10-29 12:21:40 -07:00
Rezmason
6b317af0bb Broke ground on webgpu version.
Split regl_main.js off of main.js, which now detects navigator.gpu. If it exists, it initializes webgpu_main instead.
2021-10-27 19:04:02 -07:00
Rezmason
348c384de5 More small config tweaks to paradise matrix. 2021-10-23 01:54:09 -07:00
Rezmason
7f42280eeb More small config tweaks. 2021-10-23 01:38:05 -07:00
Rezmason
a979e87564 More tweaks to Resurrections version. 2021-10-23 01:12:50 -07:00
Rezmason
cf5f8c2113 Simplifying rainPass.compute's weirder operations. 2021-10-23 01:12:31 -07:00
Rezmason
1a97861fed Resurrections version now vertically spaces the glyphs (groan). 2021-10-22 22:57:14 -07:00
Rezmason
6d8f5ba41a Overhauled the rainPass's support for the "operator" version of the effect. It now overrides the brightness of any glyph brighter than a threshold, which I think is a much clearer concept.
Also changed the way the glyphs cycle in the "operator" version, after noticing they only change once every four or five frames in the original effect.
2021-10-22 08:38:37 -07:00
Rezmason
d285697640 Documenting the passes and config variables. 2021-10-20 21:50:01 -07:00
Rezmason
91deea34d6 Ran all the JS through prettier. 2021-10-20 03:25:04 -07:00
Rezmason
3630c6adb0 Tuning the resurrections version. 2021-10-20 00:13:55 -07:00
Rezmason
80f5aea2a3 Adding support for "resurrecting" volumetric code, which is rendered to a separate channel and can be given separate colors. 2021-09-19 21:52:04 -07:00
Rezmason
7910ca0553 Added backgroundColor support and improved stripe colors handling in config. 2021-09-12 00:50:51 -07:00
Rezmason
51f1b6ebf5 Updating the README.md. Renaming "threedee" to "volumetric". 2021-09-06 17:23:54 -07:00
Rezmason
99591e1186 Old and new matrix rendering now coexist. 2021-09-06 16:35:44 -07:00
Rezmason
4add0c3324 The renderer now accepts a density parameter, that multiplies the columns.
Glyph depth now impacts brightness.
Raindrops now move forward at a steady speed.
2021-09-05 21:58:00 -07:00
Rezmason
cfadbe145c Bloom pass can now be disabled. 2021-09-05 15:52:42 -07:00
Rezmason
6708ab03a7 Came up with some performance improvements. Hopefully this will help it run better on more machines leading up to the sequel coming out. 2021-07-11 18:18:13 -07:00
Rezmason
d094f7e0b7 Added resolution parameter to config. 2021-07-11 16:34:36 -07:00
Rezmason
021ade45e1 Passes now accept as input and provide as output Objects with FBOs as values. This allows passes to work with more than one input texture. 2020-06-26 12:46:28 -07:00
Rezmason
f065b32fe3 Improved the classic palette. 2020-06-26 12:46:18 -07:00
Rezmason
a48b8dffbe Cleaned up config by moving its responsibilities into the passes 2020-01-26 13:53:19 -08:00
Rezmason
9a8638976d Consolidating the version presets 2020-01-26 10:32:21 -08:00
Rezmason
99ef8bbf0a Separated color passes into separate modules.
Moved main JS into its own module.
Main module now builds passes into a pipeline, based on the value of config.effect.
The passes no longer make stubs when they're not meant to be active.
Asset loading has been moved into the passes, which resolve their ready promise when they've finished loading.
2020-01-25 23:05:54 -08:00
Rezmason
7aaf85a345 Improving the readability of the renderer, I hope. 2020-01-24 05:50:29 -08:00
Rezmason
05933a5dda More cleanup 2020-01-22 13:02:08 -08:00
Rezmason
cadd769b63 More cleanup 2020-01-22 09:14:45 -08:00
Rezmason
1d629a20c4 A couple more style tweaks. 2020-01-21 18:47:34 -08:00
Rezmason
a760d6854a Rebuilt on top of REGL. 2020-01-21 12:17:17 -08:00