nowfound

Life & fun · January 1, 2023

Detecting collision between 500k circles below 5ms

Heya. I created a flexible collision engine for broad detection in C that's also pretty fast. Personally that's my best, so I wanted to show it here. Although... still not as fast as DragonEnergy's one that supposedly handled millions of agents bouncing off each other every frame on an old i3, haha. I hope I get better at this! He set the bar pretty high for me. I was considering including some small function that tries finding the nearest entity, although I think it might be better to simply use query for that matter. Perhaps in the future I will get a good idea of how to do that more…

Detecting collision between 500k circles below 5ms launched on January 1, 2023 with 59 votes, #1,149 of 3,901 launches that month and more than 90% of that year's launches. The site was still online in September 2026, 3 years on.

In plain words

This is a collision detection engine written in C that handles broad-phase collision checks for circles. It performs collision detection on 500,000 circles in under 5 milliseconds on standard hardware. The tool is designed for developers building physics simulations or games that need fast collision checking. The engine calculates distances between objects and applies forces based on angles between them rather than using simplified square-based approximations.

written from the facts on this page · September 2026

From the sources

1D/2D/3D Hierarchical Spatial Hash Grid written in C - supahero1/hshg

In the maker’s words, at launch

Heya. I created a flexible collision engine for broad detection in C that's also pretty fast. Personally that's my best, so I wanted to show it here. Although... still not as fast as DragonEnergy's one that supposedly handled millions of agents bouncing off each other every frame on an old i3, haha. I hope I get…

Does a similar job

all alternatives →
  • I've built a locally running Perplexity clone2024 · github.com · ▲669

    The video demo runs a 7b Model on a normal gaming GPU. I think it already works quite well (accounting for the limited hardware power). :)

  • Chunk sidecarsMay 2026 · circleci.com · ▲77

    Hi HN! My name is Olaf, I work at CircleCI as a technology advisor in the CTO office, came in through the acquisition of my company Vamp.io (progressive delivery for microservices on k8s) in 2021. Wanted to hear the HN community feedback and thoughts on a project we think could be very interesting when adding AI coding agents to the SDLC and your CI pipelines. Our team at CircleCI built Chunk sidecars after repeatedly running into the same issue internally: by the time our CI catches a failure, the agent has already moved on and most of the useful context is gone. The basic idea of Chunk…

  • ID
    Intrusion Detection in Real-time2020 · arxiv.org · ▲69

    Abstract page for arXiv paper 1911.04464: MIDAS: Microcluster-Based Detector of Anomalies in Edge Streams

  • Speeding up LLM inference 2x times (possibly)2024 · asciinema.org · ▲419

    Here's a project I've been working on for the last few months. It's a new (I think) algorithm, that allows to adjust smoothly - and in real time - how many calculations you'd like to do during inference of an LLM model. It seems that it's possible to do just 20-25% of weight multiplications instead of all of them, and still get good inference results. I implemented it to run on M1/M2/M3 GPU. The mmul approximation itself can be pushed to run 2x fast before the quality of output collapses. The inference speed is just a bit faster than Llama.cpp's, because the rest of implementation…

  • A local merge queue for parallel Claude Code agentsJul 2026 · github.com · ▲42

    I have been pushing up to 90 commits a day on a MacBook Air via 4-5 parallel agents. As you can imagine when all the agents try to build, test and run dev servers on an 8GB machine it is the fast lane to a force quit and restart. I also did not want to pay the CI minutes on 90 pushes a day. So I designed a local merge queue to have all commits land one at a time and fully tested. Hopefully this helps other folks with more modest machines. Appreciate any feedback.

  • 1990s Game Dev Algorithms for Distributed SystemsApr 2026 · docs.merca.earth · ▲12

    Classic physics engine algorithms — SAT collision detection and Morton Z-curve indexing — become viable on-chain primitives only where the execution model supports dynamic object access at runtime. Here's why EVM, Solana, and Aptos can't run them, and Sui can.

More life & fun this month

the category →

Source: Show HN post ↗ · launch text quoted in part

Launched alongside, January 2023

the whole month →
  • This works suprisingly well. Just give it instructions like "make it winter" or "remove the cars" and the photo is altered. Here are some examples of transformations it can make: Golden gate bridge: https://raw.githubusercontent.com/brycedrennan/imaginAIry/ma... Girl with a pearl earring: https://raw.githubusercontent.com/brycedrennan/imaginAIry/ma... I integrated this new InstructPix2Pix model into imaginAIry (python library) so it's easy to use for python developers.

    AI · 2023 · github.com

  • Fast, reliable, and affordable open source payments switch

    Dev tools · 2023 · hyperswitch.io

  • The project is called QueryStorm. It uses Roslyn to offer C# (and VB.NET) support in Excel, as an alternative to VBA. I've posted about it before, but a lot has changed since then so figured I'd share an update. The current version includes a host of new features, namely a C# debugger, support for NuGet packages, and the ability to publish Excel extensions to an "AppStore" (which is essentially a NuGet repository). The AppStore can be used by anyone with the (free) runtime component. Another great addition is the community license, which is a free license for individuals and small companies…

    Work · 2023 · querystorm.com

  • Hey HN! Some more info: I’m an NHS doctor and the founder of Pi-A (https://www.pi-a.io) which developed Lungy (https://www.lungy.app). Lungy is an app (iOS only for now) that responds to breathing in real-time and was designed to make breathing exercises more engaging and beneficial to do. It hopefully has many aspects of interest to the HN community – real-time fluid, cloth and soft body sims running on the phone’s GPU. My background is as a junior surgical trainee and I started building Lungy in 2020 during the first COVID lockdown in London. During COVID, there were…

    Life & fun · 2023 · lungy.app

  • Your 2022 on Product Hunt

    Life & fun · 2023

  • 200+ handpicked tools to skyrocket your product launch

    Growth · 2023 · launchpedia.co