Skip to content
This repository was archived by the owner on Nov 5, 2024. It is now read-only.
This repository was archived by the owner on Nov 5, 2024. It is now read-only.

Add some butter #112

@McAroni

Description

@McAroni

When facing fast moving pictures like in action movies, games or just browsing the interwebs adrilight feels very hectic and unsmooth. One easy way to fix this: add some butter.

This means:
When extracting the colors from the currently displayed frame and calculating the colors, use a weighted average on the current and the last frame for each LED.

Pro:
The background lights will appear much smoother and less hectical.
Also, this could be used to compensate a really low frame rate if implemented properly.

Cons:
The background lights will be a bit delayed, depending on the strength of the effect.

=> add an option to add some butter with a slider for the effect strength (which is only the amount of weighting when calculating the weighted average).

I already changed the .ino file to add some butter (with a 3:1 ratio where 3 is the old and 1 is the new frame at 30 fps) and this feels so much better to me. But of course this solution doesn't offer the option to change this by just moving a slider in Adrilight.
If you want, I can offer my modifications to the .ino file as a quick&cheap solution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions