Skip to content

kskoulini/my_particles.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

my_particles.js

  1. This file consists of code for the implementation of my interpretation and recreation of particles.js.
  2. This file like the original particle.js file can be imported into any html file using the following code:
<script type="text/javascript"> creat_particles(50) </script>
  1. This should be included at the bottom of the body section.
  2. 50 in the above line is the argument that defines the number of particles and can be replaced by any postive integer.
  3. Each particle is a div element whose position changes constantly and each of which is currently added to the body as their parent node. This can be easily modifid to be added to a different element or to elements of a certain class.

home.html

  1. This is an example file which can be loaded to see how to the my_particles.js file is linked and used.

About

Self interpretation and recreation of particles.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published