
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
@rodikh/particle-lines
Advanced tools
particle-lines ============== Inspired by Topaz's Particle Lines http://www.topaz1008.com/
Inspired by Topaz's Particle Lines http://www.topaz1008.com/
Particle Lines is an interactive animation built with using HTML5 Canvas and no other third party runtime libraries.
It implements a particle engine that creates random moving particles, and draws colorful lines between close neighbours.
It is enclosed in a module for easy usage within any HTML.
Instantiate the ParticleLines class and pass a canvas element to it's constructor.
<body>
<canvas id="main"></canvas>
<script type="module">
import ParticleLines from 'particle-lines'
const canvas = document.getElementById('main');
new ParticleLines(canvas, {particlesAmount: 100, maxDistance: 150});
</script>
</body>
You can pass an options object to the constructor:
Option | Description | Default Value |
---|---|---|
maxDistance | Determines the maximum distance between two particles to draw a line between. | 150 |
maxVelocity | The maximum velocity in px/frame for randomly spawned particles. | 1 |
particlesAmount | The amount of particles to spawn. | 100 |
fps | Frames per second for the particle engine and rendering loop. | 60 |
FAQs
particle-lines ============== Inspired by Topaz's Particle Lines http://www.topaz1008.com/
The npm package @rodikh/particle-lines receives a total of 4 weekly downloads. As such, @rodikh/particle-lines popularity was classified as not popular.
We found that @rodikh/particle-lines demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.