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

Reducing diagonal spread of new particles - code pointers request. #1

Open
ra-om opened this issue Oct 13, 2022 · 2 comments
Open

Reducing diagonal spread of new particles - code pointers request. #1

ra-om opened this issue Oct 13, 2022 · 2 comments

Comments

@ra-om
Copy link

ra-om commented Oct 13, 2022

Hello, I find synaesthesia second to none for some types of music, still in some songs the constant diagonal movement downwards can be distracting.

If I perceive right, each new particle that spawns splits into two and goes down, with not much connection to the music(please correct me if I'm wrong). I would like to reduce or eliminate this effect, and play with it until I perceive an improvement.

Kind regards, RO.

@dreamlayers
Copy link
Owner

When sounds happen, Synaesthesia draws things corresponding to them. It doesn't track these individual things afterwards. Instead, between frames, what was drawn before is processed via a fade algorithm, which transforms the image.

There are 3 different fade modes: fade, heat and wave. If you don't want things to spread afterwards, try the ordinary fade mode. Both heat and wave spread things around. Code:

void fade() {

@ra-om
Copy link
Author

ra-om commented Dec 4, 2022

Thank you! In the latest version, after making some adjustments. I think I've finally got it to a point where it's satisfactory with all kinds of music. Also your modified algorhythm is a huge improvement from the classic one. Thank you for all the great work.

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

No branches or pull requests

2 participants