Viewing profile — davidim
davidim
HN member- Joined
- Sun, Dec 30, 2018, 12:53 PM UTC
- HN karma
- 50
- Public activity
- 9 items
- HN profile
- View on Hacker News ↗
About davidim
dmaydan2@gmail.com
Recent public activity
-
comment
Comment #19013887
What sort of drawing are you thinking? Dragging the mouse around on the screen or navigating with the arrows?
-
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.
-
comment
Comment #19012277
Recursive division may be elegant, but it seems that may also have its disadvantages.
-
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…
-
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…
- story
- story
-
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…
- story