https://github.com/migrim/ascii-blob
ASCII Blob is an interactive canvas experiment where ASCII symbols move and react to mouse interactions, creating fluid blob-like animations. Users can switch between different modes, trigger explosions, and adjust various visual parameters.
https://github.com/migrim/ascii-blob
aesthetics ascii-art canvas-animation javascript simulation
Last synced: 5 months ago
JSON representation
ASCII Blob is an interactive canvas experiment where ASCII symbols move and react to mouse interactions, creating fluid blob-like animations. Users can switch between different modes, trigger explosions, and adjust various visual parameters.
- Host: GitHub
- URL: https://github.com/migrim/ascii-blob
- Owner: Migrim
- License: mit
- Created: 2024-09-07T13:40:40.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-12-04T15:33:54.000Z (over 1 year ago)
- Last Synced: 2026-01-20T10:53:17.363Z (6 months ago)
- Topics: aesthetics, ascii-art, canvas-animation, javascript, simulation
- Language: JavaScript
- Homepage: https://migrim.github.io/Ascii-Blob/
- Size: 27.3 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# ASCII Blob
ASCII Blob is an interactive canvas experiment where ASCII symbols move and react to mouse interactions, creating fluid blob-like animations. Users can switch between different modes, trigger explosions, and adjust various visual parameters.
## Features
- **Modes**:
- **Normal**: Default blob behavior.
- **Vortex**: Swirling motion centered around the cursor.
- **Magnet**: Attracts symbols towards the cursor.
- **Mirror Mode**: Activated with `M` key, reflects symbols around the vertical axis.
- **Explosions**: Right-click to trigger an ASCII explosion at the cursor.
- **Shape Shifting**: Press `S` to cycle through different shapes (Normal, Circle, Square, Flower, and Heart).
- **Adjustable Parameters**: Use sliders to change density, cursor size, blob speed, symbol size, and visual effects like swirl, bounce, and wave.
## Controls
- **Left-click**: Cycle through modes (Normal, Vortex, Magnet).
- **Right-click**: Trigger an ASCII explosion at the current cursor position.
- **Scroll**: Adjust vortex strength when in Vortex mode.
- **M key**: Toggle Mirror mode on and off.
- **S key**: Cycle through different shapes (Normal, Circle, Square, Flower, and Heart).
## Adjustable Settings
You can modify the following settings using sliders in the interface:
- **Density**: Control the number of symbols in the blob.
- **Cursor Size**: Change the area of effect around the mouse.
- **Blob Speed**: Set the fluidity and movement speed of the ASCII blob.
- **Symbol Size**: Adjust the size of the ASCII characters.
- **Swirl Effect**: Increase or decrease the swirl rotation speed.
- **Bounce Effect**: Control how symbols react when they move away from the cursor.
- **Wave Effect**: Add a wave-like oscillation to the movement.
## Installation and Usage
1. Clone the repository:
```bash
git clone https://github.com/Migrim/ascii-blob.git