Ask HN: What projects are you currently working on?
1–10 of 93 posts
Re: Ask HN: What projects are you currently working on?
#2First was a naive Python version. Test every circle against every other circle for collision, O(N^2). This way I managed only 200 circles on my playing field. I wanted to see how much faster it would be rewritten in C. That got me to 1500 circles.
Now obviously the way I was checking for collisions is silly, some kind of subdivision of space is required to avoid having to check everything against everything. I split the playing field into a grid, and only test collisions between circles in nearby grid cells. That got me to 3000 circles running in Python.
Next I want to write that in C as well, to see how fast it would go.
Re: Ask HN: What projects are you currently working on?
#3Re: Ask HN: What projects are you currently working on?
#4Re: Ask HN: What projects are you currently working on?
#5I got curious about how CPU-intensive it would be to run a server for a game like agar.io or diep.io. In these games there are a lot of circles moving around on a 2D map, and you have to check collisions between them. First was a naive Python version. Test every circle against every other circle for collision, O(N^2). This way I managed only 200 circles on my playing field. I wanted to see how much faster it would be…
Re: Ask HN: What projects are you currently working on?
#6Earlier, it taught basic html, now I am rewriting the Tasks app, http://github.com/thewhitetulip/Tasks/, to use the front end framework http://vuejs.org, using the learning of my experiment, I'm putting together anther series of tutorials, http://github.com/thewhitetulip/intro-to-vuejs.
Thid is because I wanted an easy to understand tutorial which doesn't expect the user to have anything more than basic html/css/js knowledge.
edit: links
Re: Ask HN: What projects are you currently working on?
#7Re: Ask HN: What projects are you currently working on?
#8Re: Ask HN: What projects are you currently working on?
#9Re: Ask HN: What projects are you currently working on?
#10I'm working on a GitLab CI tutorial. :)