• Stars
    star
    127
  • Rank 273,910 (Top 6 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created almost 11 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

distort and warp images in the browser

image distortion experiment

this is an experiment for the web browser. it lets you distort an image by moving intersections in a grid.

distortion experiment screen shot

online demo

some parts of the warping code are taken from @migurskis canvas warp demo.

build script

the build script takes care of concatenating and minifying all scripts and styles. it uses vite under the hood.

please make sure that nodejs is installed on your machine.

run npm install from within the root folder of the project to install the dependencies of the build script.

to build the project, run npm run build. the optimized files will get copied to the dist/ folder.

run npm run dev to start a live-reload server for the project.

third party code used in this project

most importantly

thank you for taking a look at this repo. have a great day :)