Ball Simulator in Python Made with Claude
A new 2D physics simulation tool called Ball Sandbox has been released, allowing users to explore ball dynamics within various container shapes. The tool includes both an offline renderer and an interactive Pygame sandbox, enabling real-time adjustments to physics parameters. Users can download the application for Windows and utilize features such as live sliders for physics settings and multiple container shapes.
- ▪Ball Sandbox is inspired by the concept of dropping 2^27 balls into a circle.
- ▪The application features an offline renderer and an interactive sandbox for real-time physics experimentation.
- ▪Users can adjust parameters like gravity, restitution, and container size using live sliders.
Hacker News (Newest) files mainly under programming. We currently carry 5,306 of its stories.
Story provenance
Source · retrieval · rights · ranking — open for full record
inspect →
Story provenance
Attribution is not the same as permission. This drawer separates discovery metadata, excerpts, WeSearch-generated summaries, reuse status, and whether the publisher receives the visit. Nothing here claims a legal grant the publisher has not made.
Record
| Original publisher | GitHub |
| Canonical URL | https://github.com/simin75simin/ball-sandbox |
| Publication time | Tue, 19 May 2026 02:08:02 +0000 |
| Retrieval time | 2026-05-19T02:34:57.115Z |
| Last seen | 2026-05-19T02:34:57.115Z |
| Headline source | Publisher (no WeSearch rewrite) |
| Excerpt source | publisher body |
| Excerpt method | First ~120 words (~800 chars) of extracted publisher body, fair-use limited. |
| Summary | WeSearch · cerebras-chat (WeSearch summarizer) |
| Summary source text | contentText |
| Citation coverage | Summary is a WeSearch-generated derivative; primary citation is the original publisher URL. |
| Cluster | TRlZ9vc3ZPSG |
| Cluster logic | Grouped by semantic title/content similarity across sources within a rolling window. Same-publisher template collisions are excluded from coverage comparison. |
| Ranking reason | Story pages are not engagement-ranked. Hub feeds use recency, with optional source-diversified chronological ordering (cap consecutive stories per source). No personalized ranking. |
| Publisher visit | Yes — open original |
| Substitutes article? | No — link-out required for full text |
Rights status (four layers)
WeSearch handling by dimension
| Indexing | May the item be indexed (stored, ranked, made findable)? | Allowed |
| Snippet | May a short excerpt of the publisher's text be shown? | Allowed |
| AI summary | May WeSearch generate its own short summary of the article? | Limited |
| Retrieval / RAG | May the content be exposed for third-party retrieval-augmented generation? | Not asserted |
| Model training | May the content be used to train AI models? | Not asserted |
| Commercial reuse | May the content be reused commercially? | Not permitted |
Basis: Derived from the published RSS/Atom feed. Contact: [email protected]. Reviewed: 2026-07-24.
Opening excerpt (first ~120 words) tap to expand
Ball Sandbox — 2D ball-in-circle physics A small 2D physics playground inspired by "2^27 balls dropped inside a circle": an offline MP4 renderer plus an interactive Pygame sandbox with multiple container shapes and live-tunable physics. UI defaults to English; click EN / 中文 in the top-right to switch. Download for Windows → Two programs 1. Offline renderer — sim.py Renders the wall-only "drop balls into a circle" scene to output_nocollide.mp4 using NumPy + Numba. uv run python sim.py 22 000 balls in a 270 px circle Released simultaneously from a small cluster just below the top of the ring Per-frame colors = current y (top = red, bottom = violet) 10 s @ 60 FPS, ~15 MB All knobs live in the CONFIG block at the top of sim.py. 2.
…
Excerpt limited to ~120 words for fair-use compliance. The full article is at GitHub.