Skip to content

Conversation

@gemedet
Copy link

@gemedet gemedet commented Mar 18, 2025

This PR adds a boolean flag to randomRamp, allowing the randomization to be per particle.

@twostraws
Copy link
Owner

I think I understand what this trying to do, but the name preselect is really throwing me off. What alternatives are there?

@gemedet
Copy link
Author

gemedet commented May 2, 2025

@twostraws I also considered the names fixed and shared, let me know if you have another idea.

Alternatively, we could just add a separate case, such as:

// Select one random color array for all particles
case randomRamp(_ colors: [[Color]])

// Select a random color array for each particle
case multiRamp(_ colors: [[Color]])

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

Successfully merging this pull request may close these issues.

2 participants