You are reading a single comment by @Kim and its replies. Click here to read the full conversation.
  • Your code needs comments :). I like the approach of prototyping. But there is also a bit of dirty playing here, like starting from pos = 0.001. Might not be so obvious to most. The first code is too much though, no idea what it is doing I'm afraid. Furthermore, I think that the intervals function is undocumented?

    Brings me to something else though, why not

    1. Build a reference of the javascript that is implemented, so that it is easy to see what is and isn't in there; and
    2. Provide space and speed complexity for the functions, so that you can figure out which functions you should use.

    The second piece of code is nice though. I'll try to elaborate on that version.

About

Avatar for Kim @Kim started