Skip to content

LeowFlow/Dither-Live

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

14 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Dither.Live logo Dither.Live demo


πŸš€ Features

  • Dithering Algorithms: Floyd–Steinberg, Jarvis–Judice–Ninke, Bayer Ordered, Atkinson, Sierra
  • Real-Time Controls: Scale, contrast, threshold, gamma, pixelation, blur
  • Upload Options: Drag & drop, file upload (max 20 MB)
  • Themes: Dark and light modes
  • Gallery: View community-submitted artworks
  • Keyboard Shortcuts and Accessibility enhancements

πŸ“ Repository Structure

dither-live/
β”œβ”€ Cargo.toml            # Rust/WASM crate manifest
β”œβ”€ Cargo.lock
β”œβ”€ wasm/                 # Rust source β†’ generates pkg/ & target/
β”‚  β”œβ”€ src/
β”‚  β”œβ”€ pkg/
β”‚  └─ target/
β”œβ”€ www/                  # Web app (Vite/JS)
β”‚  β”œβ”€ public/            # Static assets
β”‚  β”œβ”€ src/               # HTML, CSS, JS
β”‚  β”œβ”€ dist/              # Production build (ignored)
β”‚  β”œβ”€ package.json
β”‚  └─ vite.config.js
β”œβ”€ .gitignore
β”œβ”€ README.md
└─ LICENSE

πŸ› οΈ Prerequisites

  • Rust & wasm-pack
  • Node.js (>=14) & npm or Yarn

πŸ’» Install & Run Locally

1. Clone the repository
git clone https://github.com/LeowFlow/dither-live.git
cd dither-live

2. Build the WASM package
cd wasm
wasm-pack build --target web --out-dir ../www/src/pkg

3. Install dependencies & start the dev server
cd ../www
npm install       # or yarn
npm run dev       # then open http://localhost:3000 in your browser

4. Build for production
npm run build     # outputs to www/dist

About

Open Source, Real Time, Web Dithering Application

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published