particles: A Graph Based Particle Simulator Based on D3-Force

Simulating particle movement in 2D space has many application. The 'particles' package implements a particle simulator based on the ideas behind the 'd3-force' 'JavaScript' library. 'particles' implements all forces defined in 'd3-force' as well as others such as vector fields, traps, and attractors.

Package details

AuthorThomas Lin Pedersen [aut, cre] (<https://orcid.org/0000-0002-5147-4711>), Andrei Kashcha [ctb]
MaintainerThomas Lin Pedersen <thomasp85@gmail.com>
LicenseMIT + file LICENSE
Version0.2.4
URL https://github.com/thomasp85/particles
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("particles")

Try the particles package in your browser

Any scripts or data that you put into this service are public.

particles documentation built on April 3, 2025, 7:21 p.m.