Skip to main content

spinning-ascii-donut-star

A spinning 3D star in your terminal, rendered as z-buffered ASCII art in the style of donut.c. The star is built from tapered spokes, an optional torus ring and an optional hub sphere, each with surface normals and lighting. You choose the number of points. Pure Python, no dependencies.

pip install spinning-ascii-donut-star
spinning-ascii-donut-star                 # five points with ring, Ctrl+C to stop
spinning-ascii-donut-star -p 8 --no-ring  # eight-pointed star, no ring
spinning-ascii-donut-star -p 6 -c " .:-=+*#%@" -d 10
import math
from spinning_ascii_donut_star import render_frame, spin

print("\n".join(render_frame(math.pi / 2, 0.6, width=60, height=30, points=6)))
spin(duration=5, points=4, ring=False)
Option Default
-p, --points 5 number of star points
--no-ring / --no-hub leave out the outer ring or the centre sphere
-c, --chars .,:;oO0Q@# shading ramp, dim to bright (at least 4 characters)
-d, --duration 0 seconds to run (0 = until Ctrl+C)
-f, --fps 20 frames per second
-W, --width / -H, --height 70 / 35 size in characters
-s, --speed 0.04 rotation in radians per frame
--no-color plain output without ANSI colour

Metadata

Release files for spinning-ascii-donut-star 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for spinning-ascii-donut-star 0.1.0
File Size Uploaded Provenance Actions
spinning_ascii_donut_star-0.1.0.tar.gz 4.9 kB With provenance Details for spinning_ascii_donut_star-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for spinning-ascii-donut-star 0.1.0
File Interpreter ABI Platform Actions
spinning_ascii_donut_star-0.1.0-py3-none-any.whl Python 3 none any Details for spinning_ascii_donut_star-0.1.0-py3-none-any.whl

Total release size: 10.8 kB

Release files / spinning_ascii_donut_star-0.1.0.tar.gz

Download URL spinning_ascii_donut_star-0.1.0.tar.gz
Size 4.9 kB
Tags Source
SHA-256 checksum
How to use checksums
667df2d61499b43d90d857716bb2c5ee30e5c0ffafe0918ba6118bf79f264cf3
BLAKE2b-256 checksum
How to use checksums
505fb963262cfda48e17d49d44eb53c639b5db1a5fa41b490ca91d4f3fe59383
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

Transparency log

Release files / spinning_ascii_donut_star-0.1.0-py3-none-any.whl

Download URL spinning_ascii_donut_star-0.1.0-py3-none-any.whl
Size 5.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
205d378f29a1127b36b7fb142e8cad3796e8301a616ab2604b9715dd571609ca
BLAKE2b-256 checksum
How to use checksums
cf3e5d3b013a11adc3ea3b5c91206af797703c9dbc80f665f8e7a634432ab6c4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

Transparency log

Security for spinning-ascii-donut-star 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for spinning_ascii_donut_star-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page