Skip to main content

Particled

Audio-reactive particle visualizer with multiple visualization styles and modes.

Status

  • Runtime and packaging are release-hardened for PyPI/Homebrew workflows.
  • CI includes Linux and macOS checks for lint, tests, type checks, and build validation.
  • Publish workflows are in place; remaining release steps are maintainer submission actions.

Overview

Particled is a real-time particle visualization system that responds to microphone input, featuring:

  • Torus Knot: Complex mathematical knot patterns with 3D geometry
  • Particle Cloud - Gravitas Mode: Physics-based gravity-centered expansion with audio reactivity
  • Particle Cloud - Impact Mode: Whole-cloud breathing animation with gentle drift
  • Penrose Triangle: Impossible triangle geometry with audio-reactive particle flow
  • Plexus: Crumpled, audio-reactive wireframe mesh with a dense, ever-writhing network of connections
flowchart LR
	Mic[Microphone Input] --> Meter[Audio Meter + Features]
	Meter --> Main[Main Render Loop]
	Main --> Impact[Particle Cloud: Impact]
	Main --> Gravitas[Particle Cloud: Gravitas]
	Main --> Torus[Torus Knot]
	Main --> Penrose[Penrose Triangle]
	Main --> Plexus[Plexus Mesh]
	Main --> Overlay[ImGui Params Overlay]
	Overlay --> Presets[Preset Save / Load]
	Impact --> Frame[GPU Frame]
	Gravitas --> Frame
	Torus --> Frame
	Penrose --> Frame
	Plexus --> Frame

	classDef audio fill:#0f766e,color:#ffffff,stroke:#0b5f58,stroke-width:2px;
	classDef core fill:#1d4ed8,color:#ffffff,stroke:#1e40af,stroke-width:2px;
	classDef vis fill:#9333ea,color:#ffffff,stroke:#7e22ce,stroke-width:2px;
	classDef ui fill:#ea580c,color:#ffffff,stroke:#c2410c,stroke-width:2px;
	classDef out fill:#16a34a,color:#ffffff,stroke:#15803d,stroke-width:2px;

	class Mic,Meter audio;
	class Main core;
	class Impact,Gravitas,Torus,Penrose,Plexus vis;
	class Overlay,Presets ui;
	class Frame out;

Features

  • Real-time audio reactivity via microphone input
  • Multiple visualization styles and sub-modes
  • Interactive CLI configuration
  • Runtime parameters panel with live tuning
  • Per-band particle count and size mapping (8 configurable bands)
  • Preset save/load from the parameters panel
  • Resizable window with fullscreen support
  • Configurable particle physics and return mechanics
  • Frequency-based particle mapping (Gravitas mode)
  • Adjustable motion trails and visual effects

Installation

Requires Python 3.13+ and Poetry.

System dependencies

PortAudio (required by sounddevice for microphone input):

# Ubuntu / Debian
sudo apt install -y libportaudio2 portaudio19-dev

# macOS
brew install portaudio

SDL2 (only needed if building pygame-ce from source — pre-built wheels are available for most platforms):

# Ubuntu / Debian
sudo apt install -y libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-ttf-dev

Install

# Clone the repository
git clone https://github.com/crafted-glitches/particled.git
cd particled

# Install dependencies
poetry install

Optional: install as a package command

python -m pip install -e .
particled --version

Quick Start

# Run with interactive configuration
poetry run particled --selective

# Or run with defaults
poetry run particled

# Version check (non-interactive)
poetry run particled --version

Post-install Usage (pip)

After installing from PyPI, run Particled with:

particled
particled --selective
particled --version

If the particled command is not on your PATH, use:

python -m particled

The application will prompt you to:

  1. Select visualization style (Torus Knot, Particle Cloud, Penrose, or Plexus)
  2. Select mode (for Particle Cloud: Gravitas or Impact)
  3. Optionally configure parameters interactively

Controls:

  • ESC - Exit the application
  • TAB - Toggle parameters panel
  • G - Toggle audio graph
  • Window is resizable by default

macOS Runtime Notes

macOS-specific runtime permissions and external-display caveats are documented in .0folder.bak/publishing/macos-runtime-notes.md.

Visualization Modes

Torus Knot

Complex mathematical patterns based on torus knot geometry with audio-driven distortion and rotation.

Particle Cloud - Gravitas (Default)

Physics-based particle system where audio pushes particles radially outward from center:

  • Audio threshold to prevent ambient noise jitter
  • Three return mechanics: Exponential (default), Spring, or Linear
  • Frequency-band particle mapping (bass/mid/treble)
  • Drift and rotation when idle

Particle Cloud - Impact

Gentle whole-cloud breathing animation with:

  • Soft expansion and contraction
  • Drift motion for organic feel
  • Audio-reactive size and motion

Plexus

Crumpled, audio-reactive wireframe mesh:

  • Nodes on a Fibonacci sphere lattice, continuously displaced by fractal noise into a hand-crumpled, slowly writhing silhouette
  • Nearest-neighbor "shell" links plus random long-range "chord" links form a dense tangled web
  • Audio dynamically controls how many links are visible (denser web when loud), overall brightness, and an onset "flash"
  • Independently configurable noise, edge, whole-mesh motion, and per-band audio reactivity parameters

Documentation

See particled/README.md for comprehensive documentation including:

  • Package structure and module details
  • Complete parameter reference
  • Configuration examples
  • API usage guide

Publishing and release docs:

Configuration

All parameters can be configured either:

  • Interactively via CLI prompts at startup
  • Programmatically via the Config dataclass

Example programmatic configuration:

from particled import Config, ParticleCloudGravitas

cfg = Config()
cfg.num_particles = 8000
cfg.audio_noise_threshold = 0.05
cfg.gravitas_push_strength = 2.5
cfg.gravitas_return_mechanic = "spring"

field = ParticleCloudGravitas(cfg)

Development

# Install development dependencies
poetry install --with dev

# Run linter
poetry run ruff check .

# Run CI lint gate used in workflow
poetry run ruff check . --select E9,F63,F7,F82

# Run tests
poetry run pytest

# Build distributable artifacts and verify metadata
poetry run python -m build
poetry run twine check dist/*

# Type checks (CI target)
poetry run mypy particled/config.py particled/visuals/param_panels.py particled/visuals/particle_cloud/base.py particled/visuals/particle_cloud/impact.py

# Install pre-commit hooks
poetry run pre-commit install

License

MIT. See LICENSE.

Release Process

Release policy and checklist are documented in RELEASING.md, and version history is tracked in CHANGELOG.md.

Submission-only release steps:

  1. Update version and changelog.
  2. Push tag vX.Y.Z.
  3. Publish release (triggers PyPI workflow).
  4. Update Homebrew formula URL/SHA for the released artifact.
flowchart TD
	Start[Prepare Release] --> Bump[Bump Version + Update Changelog]
	Bump --> Tag[Create and Push Tag]
	Tag --> GH[GitHub Release Published]
	GH --> PyPI[Trusted Publishing to PyPI]
	PyPI --> Verify[Verify pip install + package metadata]
	Verify --> Brew[Update Homebrew Formula URL + SHA]
	Brew --> Done[Release Complete]

	classDef prep fill:#334155,color:#ffffff,stroke:#1e293b,stroke-width:2px;
	classDef ship fill:#047857,color:#ffffff,stroke:#065f46,stroke-width:2px;
	classDef dist fill:#7c3aed,color:#ffffff,stroke:#6d28d9,stroke-width:2px;
	classDef done fill:#166534,color:#ffffff,stroke:#14532d,stroke-width:2px;

	class Start,Bump,Tag,GH prep;
	class PyPI,Verify,Brew ship;
	class Done done;

Credits

Built with:

Metadata

Release files for particled 0.10.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 particled 0.10.0
File Size Uploaded Provenance Actions
particled-0.10.0.tar.gz 2.6 MB With provenance Details for particled-0.10.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for particled 0.10.0
File Interpreter ABI Platform Actions
particled-0.10.0-py3-none-any.whl Python 3 none any Details for particled-0.10.0-py3-none-any.whl

Total release size: 5.3 MB

Release files / particled-0.10.0.tar.gz

Download URL particled-0.10.0.tar.gz
Size 2.6 MB
Tags Source
SHA-256 checksum
How to use checksums
d771788d6965047d4af15449932cc21a602350d92f21c48b3a3863f45aec8088
BLAKE2b-256 checksum
How to use checksums
828c1f23ec7e2ff6ae4a83c6541995c5a0f184575a871908946b26556909e1d5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 17, 2026.

Transparency log

Release files / particled-0.10.0-py3-none-any.whl

Download URL particled-0.10.0-py3-none-any.whl
Size 2.7 MB
Tags Python 3
SHA-256 checksum
How to use checksums
59a537d94c7d132d4dbba630f7cb8cd8521fda9563ab7aec6945a05183419eee
BLAKE2b-256 checksum
How to use checksums
3dee7b5d959b876f6e5d99be1840b99e334e05fb3667de18d2754dcccf0d164f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 17, 2026.

Transparency log

Security for particled 0.10.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 particled-0.10.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 17, 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.

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