Skip to content

Add template idea and vibrating string demos#1

Open
shawnmcb wants to merge 10 commits intodmccreary:mainfrom
shawnmcb:add-template-suggestion
Open

Add template idea and vibrating string demos#1
shawnmcb wants to merge 10 commits intodmccreary:mainfrom
shawnmcb:add-template-suggestion

Conversation

@shawnmcb
Copy link
Copy Markdown

@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