A simple p5.js project that converts waveform animations to ASCII art. Still very much a work in progress.
Waveform animations working and being converted to ascii.Currently workingon fixing position issues. Full inputs work for waveforms 1 and 2. only wave distortion working for waveform 3.
Pixel Sort only visible with a low pixel density configuration. Trying other sorting algorithms. If you want to see it now, reduce pixel density to 0.5 or lower.
Git clone then open index.html.
Mess with user input controls. Change parameters in sketch.js. Or add your own waveform animation function (you'll need to add or replace a key action to activate).
Currently uses a few minor user inputs from main keyboard only (no numpad yet)
• 1-3 selects different waveform animations. • Up/Down adjusts amplitude. • Left/Right adjusts wave distortion. • 'P' activates pixel sorting (WIP). • +/- zoom in/out of waveform. • Hold shift to jump in larger increments.
- Sine (Full Control)
- Triangle (Full Control)
- Dynamic Wave (Wave Distortion only)
- .... Coming soon
Some usage of tetoki's p5.asciiart library. https://www.tetoki.eu/asciiart/index.html