CodingTrain / CodingTrain/Suggestion-Box
matter.js: piano action
- Langage dominant
- Aucune donnée de langage
- Étoiles
- 570
- Forks
- 85
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
:steam_locomotive: I think the [upright piano](http://codepen.io/sharethewisdom/full/RKRVrL/) action may be good
for a challenge. Also see the [grand piano](http://codepen.io/sharethewisdom/full/GrWoXb/) action.
My disorderly attempts to animate svg parts using
GSAP (see www.greensock.com), turn out being a
bit heavy on the CPU.
Thanks to the CodingTrain I got to know matter.js!
This is perfect, and I'm eager to completely rethink
my attempts. I'd like to have a physical model, and:
* render on canvas (GPU)
* maybe move away from svg
* not hard code the collisions, velocities etc
* trigger a sound when the hammer collides with
the string until the damper mutes it
* provide parameters (sliders!) to:
- adjust screws
- bend the metal rod of the catcher
(on the back of the key lever)
- change the tension of springs
I'll post back here if I got a working attempt.
cheers! Bart
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
Commencez par les exemples CodePen de piano droit et de piano à queue liés dans l’issue, puis consultez la documentation de Matter.js concernant les idées de canvas, de collision, de son et de slider indiquées. Le comportement proposé couvre plusieurs domaines et ne définit pas de critères d’acceptation ; il faudrait donc convenir du périmètre et d’une définition concrète de done avant de commencer le développement.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- javascript
- Domaine
- computer-graphics
- Type d'issue
- Fonctionnalité
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 20/100