---
title: "Box2D (hard)"
description: "Posts from Box2D on swe.quest."
url: "https://swe.quest/sources/box2d?difficulty=hard"
---

# Box2D (hard)

Posts from [Box2D](https://box2d.org/posts), newest first.

Posts 1–5 of 5, page 1 of 1, newest first.

## 2026-10-12

- [Contact Recycling](https://swe.quest/articles/contact-recycling-cff69228db371637.md): Box2D · 2026-10-12 · Hard · 9 min read · Games, Performance engineering, Algorithms, Scientific computing
  Contact recycling reuses one-shot contact manifolds across full time steps when two bodies have barely moved relative to each other, making narrow-phase contact generation nearly free for resting stacks or objects riding together.

## 2026-09-29

- [Inscribed Spheres](https://swe.quest/articles/inscribed-spheres-119dd641a396418e.md): Box2D · 2026-09-29 · Hard · 14 min read · Games, Algorithms, Performance engineering, C & C++
  Inscribed spheres give a cheap upper bound on the separation achievable along any axis in the separating axis test (SAT): n·d − (rA + rB), where d joins the sphere centers.

## 2026-07-18

- [SIMD for Collision](https://swe.quest/articles/simd-for-collision-0a426a9583188633.md): Box2D · 2026-07-18 · Hard · 5 min read · Performance engineering, Games, Algorithms, C & C++
  Box3D uses wide SIMD to speed up the edge-edge phase of the Separating Axis Test, testing one edge of hull A against four edges of hull B at once using structure-of-arrays data.

## 2025-03-21

- [Dynamic Tree Improvements](https://swe.quest/articles/dynamic-tree-improvements-db8f5926a23bef4f.md): Box2D · 2025-03-21 · Hard · 3 min read · Data structures, Algorithms, Games, C & C++
  Box2D's dynamic tree inserts a new proxy using a greedy, single-descent heuristic that approximates minimizing the surface area heuristic (SAH) instead of doing an exhaustive search, since incremental insertion is inherently greedy anyway.

## 2024-08-19

- [SIMD Matters](https://swe.quest/articles/simd-matters-f3febffdc470bd02.md): Box2D · 2024-08-19 · Hard · 8 min read · Performance engineering, Games, Algorithms, C & C++, Hardware
  Box2D 3.0 solves contact constraints with SIMD by using greedy graph coloring to group constraints so no body appears twice within a color.

Same list as RSS: [https://swe.quest/feed.xml?source=box2d&difficulty=hard](https://swe.quest/feed.xml?source=box2d&difficulty=hard). Lists take `?page=`, `?per=12|24|48|96` and, on the home page, `?tag=` (up to 3), `?source=`, `?difficulty=easy|medium|hard` and `?search=`.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
