Hacker News new | ask | show | jobs
by franze 643 days ago
Fixed

  //const lengthFactor = clamp(lineLength / 200, 0.5, 2); // outdated // Adjust between 0.5x and 2x
  const lengthFactor = clamp(200 / lineLength, 0.5, 2); //Reason: This aligns the instrument with the physical properties of real-world instruments, making it more intuitive and educational.
1 comments

Wow, much better! Good job!