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

Add template idea and vibrating string demos #1

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

shawnmcb
Copy link

@shawnmcb shawnmcb commented Nov 25, 2023

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

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?

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...
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
@shawnmcb shawnmcb changed the title Add template idea Add template idea and vibrating string demos Nov 27, 2023
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.

1 participant