Hacker News new | past | comments | ask | show | jobs | submit login

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.





Wow, much better! Good job!



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: