Skip to content

g-otn/canvas-running-dots

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Running dots

Generates dots (tiny squares) that bounces and moves to random directions inside the browser's window.

Gera pequenos pontos que quicam e se movem em direções aleatórias dentro da janela do navegador.

Buttons

Description of the buttons in the page:

  • + Speed: Dots move faster.
  • - Speed: Dots move slower.
  • Position jump: Dots jump some coordinates, making it even faster.
  • New dot: Create a single dot.
  • Remove dots: Remove all the dots.
  • Auto-dot: Creates a lot of dots.
  • Change color: Directly uses an input into the color of the dots.
  • Change click animation: Make dots do something different when clicked.