Skip to content

Saturn-VI/netbackground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

net-background

image it mostly just looks fancy

features (there's like 3)

  • it automatically styles and sets up a container if it has the id 'background-container'
  • it treats your cursor as a point and makes it stronger (pretty much a given)
  • particles spawn at the cursor when mouse is clicked
  • number of points (using regressions lmao), maximum draw range (using canvas size), and speed (also using canvas size) scale
  • respects prefers-reduced-motion

todo

  • nothing! unless you want to make an issue

running the example site

$ node server

if you want to run it your own website

  • add <script src="netbackground.js" defer></script> to <head>
  • add <container id="background-container"></container> to the start of <body>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published