Rezmason / matrix

matrix (web-based green code rain, made with love)
https://rezmason.github.io/matrix
MIT License
3.29k stars 212 forks source link

Major Feature: dynamic parameters #36

Open FieryRMS opened 1 year ago

FieryRMS commented 1 year ago

Hi, I am trying to implement a LivelyWallpaper version of this project but I cant seem to figure out how to change animation properties mid animation. I dont have a good grasp on shaders, so some pointers would really be appreciated!

Rezmason commented 1 year ago

Hi, thanks for your interest in the project!

I'm going to write out a plan for supporting this, and link you to it. The tricky bit isn't the shaders— those are actually quite flexible as-is.

The tricky bits are:

It's the kind of work that belongs in this repo. I actually did some of it once already, and then threw it away đŸ˜…. But it lays the groundwork for whatever GUI I create later, too, so it has to be done.

In the meantime, if you throw away the pipeline and remake it any time the settings change, that'll at least give immediate visual feedback on the users' config choices— but it does reset the rain. That'll have to suffice in the short term I'm afraid!

Rezmason commented 1 year ago

Right, time to move the needle on this. Working on that roadmap.