Package: boids4R 0.3.2

boids4R: Reynolds-Style Boids and Swarm Simulation

Provides deterministic two- and three-dimensional boids and swarm simulations for R. The package implements Reynolds-style separation, alignment, and cohesion rules with optional obstacles, attractors, predators, species parameters, and reproducible frame export. Simulation state is renderer-neutral; optional adapters can hand frame data to visualization packages such as 'ggWebGL'. The model follows Reynolds (1987) <doi:10.1145/37402.37406>.

Authors:Frederic Bertrand [cre, aut]

boids4R_0.3.2.tar.gz
boids4R_0.3.2.zip(r-4.7)boids4R_0.3.2.zip(r-4.6)boids4R_0.3.2.zip(r-4.5)
boids4R_0.3.2.tgz(r-4.6-x86_64)boids4R_0.3.2.tgz(r-4.6-arm64)boids4R_0.3.2.tgz(r-4.5-x86_64)boids4R_0.3.2.tgz(r-4.5-arm64)
boids4R_0.3.2.tar.gz(r-4.7-arm64)boids4R_0.3.2.tar.gz(r-4.7-x86_64)boids4R_0.3.2.tar.gz(r-4.6-arm64)boids4R_0.3.2.tar.gz(r-4.6-x86_64)
boids4R_0.3.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
boids4R/json (API)
NEWS

# Install 'boids4R' in R:
install.packages('boids4R', repos = c('https://fbertran.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/fbertran/boids4r/issues

Pkgdown/docs site:https://fbertran.github.io

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

cpp

5.18 score 1 stars 20 scripts 351 downloads 6 exports 1 dependencies

Last updated from:584f699c06. Checks:13 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK157
linux-devel-x86_64OK138
source / vignettesOK253
linux-release-arm64OK132
linux-release-x86_64OK142
macos-release-arm64OK126
macos-release-x86_64OK266
macos-oldrel-arm64OK87
macos-oldrel-x86_64OK209
windows-develOK142
windows-releaseOK138
windows-oldrelOK175
wasm-releaseOK123

Exports:as_ggwebgl_specboids_paramsboids_scenarioboids_stateboids_worldsimulate_boids

Dependencies:Rcpp

Custom Simulation Workflows

Rendered fromcustom-simulation-workflows.Rmdusingknitr::rmarkdownon Jun 01 2026.

Last update: 2026-06-01
Started: 2026-04-29

Flocks, Herds, Swarms, and Schools

Rendered fromflocks-herds-swarms-schools.Rmdusingknitr::rmarkdownon Jun 01 2026.

Last update: 2026-06-01
Started: 2026-04-29

Getting Started with boids4R

Rendered fromgetting-started.Rmdusingknitr::rmarkdownon Jun 01 2026.

Last update: 2026-06-01
Started: 2026-04-29

Scenario Gallery

Rendered fromscenario-gallery.Rmdusingknitr::rmarkdownon Jun 01 2026.

Last update: 2026-06-01
Started: 2026-04-29

Swarm Art Creation

Rendered fromswarm-art.Rmdusingknitr::rmarkdownon Jun 01 2026.

Last update: 2026-06-01
Started: 2026-04-29