/spinning-wheel

A horizontally spinning wheel that works responsively and accurately.

Primary LanguageJavaScript

Spinning Wheel

This simple spinning wheel is useful for creating case opening animations like CS:GO, prize wheels, etc. It runs on vanilla JavaScript with the Velocity library.

  • Create a centered wheel at the beginning
  • Create a centered wheel at the end of animation
  • Accurately go-to final item with any wheel width (responsively)
  • Randomize the end result more instead of directly in the center
  • Ability to include an array of items to be used
  • Respin wheel
  • Change names of variables
  • Prepare the wheel before spinning
  • Allow for multiple wheels

Instructions coming soon