Skip to content

Make README cooler: math art, badges, interactive sections - #6

Merged
zomop merged 1 commit into
mainfrom
arena/27c94d77-piproject
Nov 22, 2026
Merged

zomop merged 1 commit into
mainfrom
arena/27c94d77-piproject

Conversation

@zomop

@zomop zomop commented Nov 22, 2026

Copy link
Copy Markdown
Owner

Summary

Make the README cooler and more welcoming — badges, real math visualization, interactive collapsible sections, and LaTeX math — without changing any source code behavior.

No source code was modified. Only README.md and one new asset file were added.

Changes

Added: assets/pi-random-walk.svg (code-generated, NOT AI-generated)

  • A deterministic SVG rendered from the first 3,000 real digits of π.
  • Each digit d becomes one step in direction d × 36°, colored by progress (blue → violet → magenta).
  • Generated with pure Python (standard library math), verified as valid XML.
  • 36 KB, scales cleanly at any size.

Updated: README.md

  • Centered hero banner with the pi random-walk SVG
  • shields.io badges: CI status, Python 3.11+, gmpy2 2.3.2, "10M+ digits verified"
  • Chudnovsky formula rendered as LaTeX math blocks (1/π = … and π = …)
  • Mermaid flowchart of the calculation pipeline
  • Collapsible <details>/<summary> sections for usage, verification, contributing, and FAQ
  • Emoji-rich headers and an intro tagline
  • All existing substantive content preserved (installation, calculators comparison, FAQ, license status)

What I deliberately avoided

  • No AI-generated images — the only image is the code-generated SVG from real π digits.
  • No source code changes — pi_project_v4.py, verify.py, etc. are untouched.
  • No license added — still pending your authorization (documented in README).

Testing

  • assets/pi-random-walk.svg validated as well-formed XML (3,010 elements).
  • README renders as valid markdown.
  • All 47 existing pytest tests still pass on the base main; none were affected by this docs-only change.

Decisions requiring owner authorization

License: No LICENSE file exists yet. I did not select or add MIT (or any license) without explicit authorization. Please add one when ready.


Ready for your review on main.

- Add programmatic pi random-walk SVG (assets/pi-random-walk.svg)
  rendered from the first 3,000 real pi digits — code-generated, not AI
- Add shields.io badges (CI, Python, gmpy2, digits verified)
- Render Chudnovsky formula with LaTeX math blocks
- Add Mermaid flowchart of the calculation pipeline
- Use collapsible <details> sections for usage, verification,
  contributing, and FAQ (interactive README)
- Emoji-rich headers and a centered hero banner
- Keep all existing substantive content intact

Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com>
@zomop
zomop merged commit 1aa28a3 into main Nov 22, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant