Live data from Hacker News

Viewing profile — davidim

davidim

HN member
Joined
Sun, Dec 30, 2018, 12:53 PM UTC
HN karma
50
Public activity
9 items

About davidim

High-school student interested in computer science and neuroscience.

dmaydan2@gmail.com

Recent public activity

  1. comment
    Comment #19013887

    What sort of drawing are you thinking? Dragging the mouse around on the screen or navigating with the arrows?

  2. comment
    Comment #19013841

    Thanks a lot for the bug report! You're right - I was forgetting to clear the canvas on render. So I added ctx.clearRect(0, 0, WIDTH, HEIGHT); to the start of the render method.

  3. comment
    Comment #19012277

    Recursive division may be elegant, but it seems that may also have its disadvantages.

  4. comment
    Comment #19012261

    Thanks so much for the compliment. This is probably a bi-product of the maze generation algorithm I used. Essentially, at every step, the algorithm bisects the maze horizontally or…

  5. comment
    Comment #19012135

    Thanks for checking it out! I am wondering how big is the number you are putting in? If the number is really high, it's probably causing a stack overflow. I would limit the size, b…

  6. story
  7. story
  8. comment
    Comment #18798608

    Thanks for checking it out. I like the idea of making the hand move between seconds - I was actually thinking about doing something like that when originally making the clock - the…

  9. story