Skip to content

🎨 assets: add a logo, [0] - #52

Merged
nstarman merged 1 commit into
mainfrom
docs/logo
Oct 4, 2026
Merged

nstarman merged 1 commit into
mainfrom
docs/logo

Conversation

@nstarman

@nstarman nstarman commented Oct 4, 2026

Copy link
Copy Markdown
Contributor

zeroth had no logo. This gives it one: [0], index zero between square brackets, for the first element of any iterable. It uses GalacticDynamics' navy and purple.

docs/_static/make_logo.py writes it:

uv run docs/_static/make_logo.py                     # docs/_static/favicon.svg
uv run docs/_static/make_logo.py --size 2048 big.png # a PNG, at any size
  • SVG by default: 335 bytes and sharp at any size. The script writes the SVG text directly, so the default needs no dependencies.
  • Geometry: the brackets and the zero are each one constant at the top of the script.
  • PNG on request: rendered with resvg-py, declared in the script's PEP 723 header, so uv run fetches it.
  • Location: docs/_static/, as in the other GalacticDynamics packages, ready for when zeroth has docs. Nothing references it yet.

Checked:

  • The pre-commit hooks pass on the new files. The mypy hook is limited to src/, so it doesn't apply.
  • Re-running the script reproduces the file, and it stays readable at 32 px.

Part of giving the GalacticDynamics packages scripted logos.

🤖 Generated with Claude Code

zeroth had no logo. It now has index zero between square brackets: the
first element, for any iterable, in GalacticDynamics' navy and purple.
docs/_static/make_logo.py writes it as an SVG (335 bytes), and as a PNG at
any size on request:

    uv run docs/_static/make_logo.py --size 2048 big.png

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@nstarman nstarman added this to the v1.3.0 milestone Oct 4, 2026
@github-actions github-actions Bot added 📝 Add / update documentation Add or update documentation. 🎨 Improve code structure / format Improve structure / format of the code. labels Oct 4, 2026
@codecov

codecov Bot commented Oct 4, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (97b80f3) to head (a46c3f3).

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #52   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            1         1           
  Lines            6         6           
=========================================
  Hits             6         6           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@nstarman
nstarman merged commit fca305b into main Oct 4, 2026
23 checks passed
@nstarman
nstarman deleted the docs/logo branch October 4, 2026 01:53
nstarman added a commit to nstarman/nstarman.github.io that referenced this pull request Oct 4, 2026
Its logo, mirrored from GalacticDynamics/zeroth's docs/_static/favicon.svg
(GalacticDynamics/zeroth#52) by scripts/sync-software-figures.mjs: drawn 512 px wide and
saved as WebP at quality 85.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

📝 Add / update documentation Add or update documentation. 🎨 Improve code structure / format Improve structure / format of the code.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant