Project ideas from Hacker News discussions.

Every shape can be cut exactly in half with one straight line

📝 Discussion Summary (Click to expand)
**Theme 1 – A guaranteed bisecting line exists**  
> "Slicing through spirals will definitely cut one side into multiple disconnected fragments, but as the straight line sweeps across the shape, the sum of the areas on the left side still grows continuously from 0% to 100%, so it is guaranteed to cross the exact 50% mark at some point." — bpx51  

**Theme 2 – Concerns about the article’s quality and AI origin**  
> "The math behind the interactive bits is terribly broken. You may want to add testing to the prompt that wrote this article." — margalabargala  

**Theme 3 – The continuity argument appears almost obvious**  
> "Isn't this mind‑numbingly obvious?" — fluoridation

🚀 Project Ideas

[ExactBisect Web]

Summary

  • [Provides a guaranteed 50/50 area bisector for any planar shape using a continuous sweep algorithm.]
  • [Eliminates floating‑point errors and AI‑style broken demos, delivering mathematically sound visualisations.]

Details

Key Value
Target Audience Web developers, mathematics educators, designers working with arbitrary SVGs
Core Feature Interactive shape upload → real‑time continuous area‑halving sweep with exact 0.5 crossing detection
Tech Stack React front‑end, D3.js for geometry, robust libraries (CGAL, GEOS), Node.js backend
Difficulty Medium
Monetization Revenue-ready: Subscription $9/mo for premium shapes & API access

Notes

  • [Addresses the exact frustration expressed by “bpx51” about floating point rounding ruining the bisector demo.]
  • [Creates a practical tool for the community discussed in the Ham Sandwich Theorem thread, enabling hands‑on exploration.]

[ContinuityGuard]

Summary

  • [Automatically verifies continuity of area‑functions for arbitrary planar shapes and flags discontinuities caused by floating‑point artifacts.]
  • [Generates test vectors and visual reports, preventing the kind of broken interactive widget reported by “margalabargala”.]

Details

Key Value
Target Audience Researchers, educators, math‑bloggers producing visual proofs
Core Feature Input shape description → algorithm computes left‑area vs cut position, checks monotonic continuity, outputs diagnostic plot
Tech Stack Python (NumPy, SymPy), Plotly for visualisation, Docker container for reproducibility
Difficulty Low
Monetization Hobby

Notes

  • [Solves the “margalabargala” complaint about broken interactive bits by providing a test harness that guarantees correct behavior.]
  • [Supports the request from “fluoridation” for a proof‑oriented continuity check, making the underlying math verification painless.]

[HamSlice Cloud]

Summary

  • [API service that computes exact bisecting hyperplanes for arbitrary point sets, polygons, or parametric curves in any dimension.]
  • [Implements the Ham Sandwich Theorem constructively, delivering code‑ready bisectors for downstream applications.]

Details

Key Value
Target Audience Data scientists, computational geometry developers, academic collaborators
Core Feature REST endpoint: upload shape file → receive coordinates of a bisecting hyperplane with area/volume split guarantee
Tech Stack FastAPI backend, Shapely/Pycgal for geometry, NumPy for linear algebra, PostgreSQL for storage
Difficulty High
Monetization Revenue-ready: Pay‑per‑call $0.005 per request, free tier 1000 calls/month

Notes

  • [Directly responds to the “VCFundedGenYer” worry about AI‑generated math being unreliable, offering a deterministic, tested implementation.]
  • [Provides the community the practical utility they hinted at when discussing the “Surprising Part” of the article.]

Read Later