GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - collidingScopes/liquid-shape-distortions: Create psychedelic animations in real-time in the browser. Webgl shader using liquid motion, distortion, shadows, and light.

BranchesTags
Open more actions menu

Latest commit

 

History

36 Commits
36 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
.vscode
.vscode
 
 
assets
assets
 
 
mp4-muxer-main
mp4-muxer-main
 
 
LICENSE.txt
LICENSE.txt
 
 
README.MD
README.MD
 
 
canvasVideoExport.js
canvasVideoExport.js
 
 
helperFunctions.js
helperFunctions.js
 
 
index.html
index.html
 
 
main.js
main.js
 
 
styles.css
styles.css
 
 

Repository files navigation

Liquid Shape Distortions 🌀

Create psychedelic animations in real-time in the browser.

(P)art of your next trip.

Webgl shader animation created using liquid motion, distorted shapes, shadows, and light.

Live demo: https://collidingscopes.github.io/liquid-shape-distortions

Liquid Shape Distortions Example Liquid Shape Distortions GIF Example

The song used is Fahrenheit Fair Enough by Telefon Tel Aviv.

Overview

Use this to create:

  • Animated backgrounds for music videos
  • Concert / rave posters
  • Stylized assets for creative projects

Features

  • Real-time rendering - real-time edits to the animation in the browser
  • Randomization - Generate unique patterns with a single click
  • Extensive controls - Fine-tune the animation parameters and canvas size
  • Export options - Save your creations as images or videos
  • Completely free - No paywalls, no premium options
  • Open source - MIT licensed for personal and commercial use

Controls

Control Keyboard Description
🎲 [R] Randomize all inputs
⏯️ [Space] Pause/play the animation
📷 [S] Save a screenshot image
🎥 [V] Start/stop video export
🔊 [M] Toggle background music

Additional keyboard shortcuts:

  • [Tab] - Refresh pattern with a new random seed
  • [T] - Restart animation from time = 0

Technical Details

This project is built using:

  • WebGL shaders for high-performance rendering
  • Vanilla JavaScript for logic and interactivity
  • HTML5 Canvas for display
  • CSS for styling
  • dat.GUI for the control interface
  • MP4 muxer for video encoding and export

The fragment shader uses:

  • 3D simplex noise and fractal Brownian motion for organic patterns / liquid movement
  • Seed-based randomization for unique visuals
  • Real-time shader effects (bloom, saturation, grain)

Installation

  1. Clone the repository:

    git clone https://github.com/collidingScopes/liquid-shape-distortions.git
    
  2. Open index.html in a web browser.

That's it! No build process, dependencies, or server setup required.

For development, you might want to use a local server:

npx http-server

Performance Notes

The WebGL shaders used in this project can be resource-intensive. For optimal performance:

  • Close unnecessary browser tabs
  • Ensure your device has adequate GPU capabilities
  • Reduce the canvas size if experiencing lag
  • Ensure your device is not in battery-saving mode

Contributing

Contributions are welcome! Feel free to submit issues or pull requests.

License

This project is licensed under the MIT License - see the LICENSE.txt file for details.

Related Projects

Check out other free and open-source projects by the same developer:

  • Particular Drift - Turn photos into flowing particle animations
  • Liquid Logo - Transform logos and icons into liquid metal animations
  • Video-to-ASCII - Convert videos into ASCII pixel art
  • Shape Shimmer - Turn photos into funky wave animations
  • Colliding Scopes - Turn photos into kaleidoscope animations
  • Manual Brick Breaker - Play brick breaker by waving your hands around

Connect with the Developer

  • Instagram: @stereo.drift
  • Twitter/X: @measure_plan
  • Email: [email protected]
  • GitHub: collidingScopes

Donations

If you found this tool useful, feel free to buy me a coffee.

My name is Alan, and I enjoy building open source software for art, animation, games, and more. This would be much appreciated during late-night coding sessions!

Buy Me A Coffee

About

Create psychedelic animations in real-time in the browser. Webgl shader using liquid motion, distortion, shadows, and light.

collidingscopes.github.io/liquid-shape-distortions/

Topics

album-artanimationartcanvasfluid-simulationfreegenerative-artgeneratorjavascriptopen-sourcepsychedelicshaderspotify-canvastrippywebgl

Resources

Readme
MIT license
Activity

Stars

113 stars

Watchers

1 watching

Forks

10 forks
Report repository

Releases

Sponsor this project

Packages

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.