Add template idea and vibrating string demos#1
Open
shawnmcb wants to merge 10 commits intodmccreary:mainfrom
Open
Add template idea and vibrating string demos#1shawnmcb wants to merge 10 commits intodmccreary:mainfrom
shawnmcb wants to merge 10 commits intodmccreary:mainfrom
Conversation
Base template for a p5.js demo, setting up: - a canvas - a title - an oscillator for sound - a toggle for the user to turn on any sound that may be specified - a slider at the foot, with legend
Helps if the proper demo comes up...
…e easily and non-destructively extend it
Update the template so it can be overridden without updates to the template itself, but rather, have props passed in
Add template-based demos for exploring vibrating string harmonics and changes in string length, moving the prior version of the string length demo to string-harmonics_progress
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Base template for a p5.js demo, setting up:
Three string-based acoustics demos built on this template via ChatGPT: one a refinement of the harmonics demo; one on how pitch changes with string length, given consistent tension and string gauge; and one on how pitch changes with string tension, given consistent length and string gauge. I'm envisioning a fourth focused on changing the string gauge. Maybe more?