Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Render Layers #68

Open
huntfx opened this issue Feb 26, 2025 · 1 comment
Open

Render Layers #68

huntfx opened this issue Feb 26, 2025 · 1 comment

Comments

@huntfx
Copy link
Owner

huntfx commented Feb 26, 2025

Since density maps are recorded alongside the movement maps, it's possible to combine the data and use the density map as an alpha channel.

Image

Instead of adding in a duplicate set of options in the GUI specifically for this, a basic layer system would be a lot more adaptable.
Each layer should get its own render settings with a simple blend mode (eg. replace, add, max, multiply), channels and opacity.
The render options should then give the necessary control to adjust the image similar to how "levels" in Photoshop works.

It'll be hidden behind the "show advanced" checkbox as the complexity won't be needed in 99% of cases.

Examples:

  • Movement with alpha (above image)
    Background: Mouse Movement
    Layer 1: Mouse Density, blur: 0, clipping: 0.85, contrast: 0.5, blend mode: multiply, channels: alpha

  • Separate colours per click (see Click heatmap with different colour per mouse button #30)
    Background: Mouse Clicks, LMB only, colour map: BlackToRed
    Layer 1: Mouse Clicks, RMB only, colour map: BlackToGreen, blend mode: add
    Layer 2: Mouse Clicks, MMB only, colour map: BlackToBlue, blend mode: add

@huntfx
Copy link
Owner Author

huntfx commented Feb 26, 2025

Did a brief mockup to demonstrate how it might look.

Image

Blending Modes: Overlay, Replace, Add, Subtract, Multiply, Divide, Maximum, Minimum

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant