from Hacker News

Show HN: Simple 2D Physics Engine in JavaScript

by rzach on 10/16/20, 9:48 PM with 3 comments

  • by rzach on 10/16/20, 9:48 PM

    I'm teaching myself some JavaScript with this project. Please feel free to make suggestions. I know I should modularize it (is that a word?) but alas, being new to JavaScript I don't yet know how to do that. I also know that ideally there should be comments in my code, which I will add. But please suggest any best practices/improvements.
  • by xchip on 10/19/20, 10:38 AM

    You might want to check out this one

    https://github.com/aguaviva/Physics