Beautiful image puzzle effect


This repository contains a general function to apply a beautiful puzzle effect to a container containing an image. It is fully customizable via the various options:

  • number of columns (pieces in the x-direction)
  • number of rows (pieces in the y-direction)
  • spread: the degree of randomness of the initial position
  • speed of the animation
  • delay for the individual pieces
  • easing-function of the animation
  • Creative Coding
  • CSS
  • Tutorial
  • TypeScript