Rezmason
|
77d6176fd5
|
Updating the WebGPU code to match the REGL code
|
2022-09-08 19:51:39 -07:00 |
|
Rezmason
|
a14b6db911
|
A couple changes on the REGL side that missed the boat
|
2022-09-07 23:17:37 -07:00 |
|
Rezmason
|
2eb7b70926
|
Split the rain pass's compute shader in two, with one governing brightness and the other governing glyph cycling. This allows glyphs to randomly cycle properly, and leaves room to store new properties.
|
2022-09-07 22:05:03 -07:00 |
|
Rezmason
|
76d37fc752
|
Freeing up a rain pass channel
|
2022-09-06 23:23:39 -07:00 |
|
Rezmason
|
c1fa822299
|
Adding a "3d" version, since just turning on volumetric doesn't look particularly good with the other recent config changes.
|
2022-09-06 01:15:35 -07:00 |
|
Rezmason
|
bfa18d6926
|
Updated the Resurrections MSDF texture
|
2022-09-06 01:08:47 -07:00 |
|
Rezmason
|
f66f8232d9
|
Adding Playdate compile instructions to the project
|
2022-09-05 02:35:22 -07:00 |
|
Rezmason
|
33edffc99c
|
Removing the "resurrection" effect that mirrored the Matrix Resurrections trailers, as they aren't canon and the color channels of the output textures can be put to better use
|
2022-09-04 23:56:49 -07:00 |
|
Rezmason
|
1aeaba7a3f
|
Adding dated attribution text to top of Lua file
|
2022-09-04 23:48:55 -07:00 |
|
Rezmason
|
b26d585cad
|
The latest SDK now reports correct bounds for partly transparent images
|
2022-09-04 23:48:55 -07:00 |
|
Rezmason
|
c3f22a5afb
|
Reducing the number of fade variants when the effect is running quicker, to gain some more CPU.
|
2022-09-04 23:48:55 -07:00 |
|
Rezmason
|
687c7ab613
|
Replacing references to playdate API with references to its components. No apparent performance change.
|
2022-09-04 23:48:55 -07:00 |
|
Rezmason
|
c0e94627e7
|
Throwing some extra C compiler warnings into the CMakeLists. Found and dealt with some double-to-float conversions, cut CPU use down to about 10%.
|
2022-09-04 23:48:54 -07:00 |
|
Rezmason
|
346bbbb84d
|
Moving more playdate files around, adding a playdate-specific gitignore to the subdirectory and adding an easter egg.
|
2022-09-04 23:48:54 -07:00 |
|
Rezmason
|
fadc1ed639
|
C project now uses drawing contexts to draw faded glyph variants to a cache.
Switched to an opaque fade gradient and white-transparent drawing mode to avoid a bug discovered in the C SDK.
|
2022-09-04 23:48:54 -07:00 |
|
Rezmason
|
0ce4f35eb2
|
Replacing lockImage and unlockImage with pushContext and popContext in the Lua project
|
2022-09-04 23:48:54 -07:00 |
|
Rezmason
|
6a3430d862
|
Began implementing a function to composite two bitmap views before I realized pushContext and popContext probably do what I need instead
|
2022-09-04 23:48:54 -07:00 |
|
Rezmason
|
8df808ea76
|
Began work on the C port. To my knowledge, everything is working except the graphics code. The C API doesn't include bitmap compositing functions out-of-the-box.
|
2022-09-04 23:48:54 -07:00 |
|
Rezmason
|
5bebf6ad71
|
Replaced dithering logic with compositing a pre-rendered dithered gradient.
|
2022-09-04 23:48:54 -07:00 |
|
Rezmason
|
551ce132c4
|
Various playdate optimizations, increasing unused CPU to hopefully drive audio or something. Moved the Lua project into playdate/matrix_lua
|
2022-09-04 23:48:54 -07:00 |
|
Rezmason
|
ceb5b03458
|
"Flattening" the faded images and glyphs into a 2D array of images reduces the number of draw calls per update to one per changed glyph
|
2022-09-04 23:48:54 -07:00 |
|
Rezmason
|
a48263873e
|
Replacing image tables with arrays of images eliminates the memory leak
|
2022-09-04 23:48:54 -07:00 |
|
Rezmason
|
7fbb7a62e1
|
Learning Lua, implemented the matrix effect for the playdate but there are memory and framerate issues
|
2022-09-04 23:48:54 -07:00 |
|
Rezmason
|
9a613f3588
|
Starting playdate project
|
2022-09-04 23:48:54 -07:00 |
|
Rezmason
|
58e3aac143
|
Replacing "logarithmic brightness" with a simple brightness-and-contrast setup. Adjusting a bunch of configs.
|
2022-09-04 23:48:34 -07:00 |
|
Rezmason
|
17b0e11cb7
|
Expanding the to-do list to include audio, regenerated "updated glyph set, Playdate version, reformulation goals and Resurrections version
|
2022-09-04 23:34:09 -07:00 |
|
Rezmason
|
aee790bf4b
|
Making supportsWebGPU more stringent
|
2022-08-28 23:04:38 -07:00 |
|
Rezmason
|
5133d44054
|
Merge pull request #16 from 57r31/master
|
2022-08-25 09:04:46 -07:00 |
|
Rezmason
|
5886f7e031
|
Fixing another README link
Adding missing https to another URL in the README.md
|
2022-08-25 09:04:14 -07:00 |
|
serge
|
216ca7f5f9
|
fix a link
|
2022-08-25 19:52:19 +10:00 |
|
Rezmason
|
3da3db61f1
|
Camera input and mirror effect now also work in WebGPU. Added the "once" parameter, which renders a single frame. Fixed bugs in gpu-buffer.
|
2022-08-11 00:08:05 -07:00 |
|
Rezmason
|
fc6821f4db
|
Making sure copyTextureToTexture can run, even though the WebGPU project still relies on endPass
|
2022-08-09 22:25:35 -07:00 |
|
Rezmason
|
e024f4bd4d
|
Add camera setup to WebGPU project
|
2022-08-07 21:29:50 -07:00 |
|
Rezmason
|
6aa025870c
|
Running prettier
|
2022-08-07 19:17:59 -07:00 |
|
Rezmason
|
a0c1f22fd1
|
Updating WebGPU project to satisfy Chrome Canary
|
2022-08-07 19:17:22 -07:00 |
|
Rezmason
|
7bed65b479
|
Update README.md
|
2022-08-07 00:39:48 -07:00 |
|
Rezmason
|
581135bd0f
|
Update readme to reference mirror mode
|
2022-08-07 00:38:58 -07:00 |
|
Rezmason
|
aabf0a32ee
|
Double click now toggles full screen. Delayed initializing regl until the camera is set up, so its start time comes after the visitor closes the browser prompt
|
2022-08-02 21:39:47 -07:00 |
|
Rezmason
|
ad81de744d
|
Renamed ripples pass to mirror pass
|
2022-08-02 21:25:54 -07:00 |
|
Rezmason
|
8aeb156875
|
By default, camera features are disabled; they're opted into by URL param and browser prompt.
|
2022-08-02 21:23:27 -07:00 |
|
Rezmason
|
3e301e9e58
|
code brightness is now intensified by the ripples. Added webcam support.
|
2022-08-02 09:56:13 -07:00 |
|
Rezmason
|
25255599aa
|
Replaced the sudden sine ripple with a sin(x)/x offset by elapsed time.
|
2022-08-02 04:12:52 -07:00 |
|
Rezmason
|
503c97adeb
|
Ripples pass now supports five simultaneous clicks; the ripples are circular, accounting for the aspect ratio; click event is handled within the ripples pass module.
|
2022-08-02 03:42:36 -07:00 |
|
Rezmason
|
f0ffa6fce2
|
Changing back glyph edge crop, taste is subjective but symbols are getting cut off
|
2022-08-02 03:41:29 -07:00 |
|
Rezmason
|
5b6062fce4
|
Update regl to support uniform arrays
|
2022-08-02 03:41:29 -07:00 |
|
serge
|
d910e2e49d
|
animation length
|
2022-08-01 19:05:51 +10:00 |
|
serge
|
ed2fff88a8
|
onclick ripple
|
2022-07-30 17:37:34 +10:00 |
|
serge
|
65d0380bde
|
2/3
|
2022-07-29 19:54:52 +10:00 |
|
serge
|
b64f7c247a
|
test
|
2022-07-07 19:47:44 +10:00 |
|
serge
|
c2eb3d0602
|
not bad for first time
|
2022-07-05 05:24:38 +10:00 |
|