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

Update Sparkle Motion to state at Burning Man 2022 #475

Merged
merged 14 commits into from
Sep 17, 2022
Merged

Conversation

bencbartlett
Copy link
Collaborator

Added a shader that assigns each panel an ID and cycles through 4 colors. The hue can evolve over time at a slidable speed. (Also some other bugfixes.)

More to come!

Demo: (pls excuse the slow refresh rate from the simulator; the colors will change on the beat)

panels_cycle_2.mov

@nzoschke
Copy link
Collaborator

Testing this here, will report back!

@nzoschke
Copy link
Collaborator

nzoschke commented Aug 17, 2022

These are sick! Geometric Sheep in particular.

Screen Shot 2022-08-16 at 5 45 57 PM

Questions...

  • What is "From Center"?

// Some commonly used color functions
// Ben Bartlett

/* Convert HSV values ot RGB values
Copy link
Collaborator

@nzoschke nzoschke Aug 17, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typos, ot, betwee

@@ -0,0 +1,23 @@
// Some commonly used color functions
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've seen and used the rgb2 counterparts, should we add those here too?

// @param uvIn uv-coordinate
vec4 main(vec2 uvIn) {

int panelID = getPanelID(fixtureInfo);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for my education only, how do uvIn and fixtureInfo interact?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

discussed on a call, its magic of sorts

@bencbartlett bencbartlett changed the title add geometric sheep shader; bugfixes Update Sparkle Motion to state at Burning Man 2022 Sep 8, 2022
@bencbartlett
Copy link
Collaborator Author

@xian I ported over all of the additional changes I made on playa at Burning Man this year and added the new show template. I think this should be the most up-to-date version now

@xian xian merged commit ab79cc9 into baaahs:main Sep 17, 2022
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.

3 participants