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:
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
Last updated from:584f699c06. Checks:13 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 157 | ||
| linux-devel-x86_64 | OK | 138 | ||
| source / vignettes | OK | 253 | ||
| linux-release-arm64 | OK | 132 | ||
| linux-release-x86_64 | OK | 142 | ||
| macos-release-arm64 | OK | 126 | ||
| macos-release-x86_64 | OK | 266 | ||
| macos-oldrel-arm64 | OK | 87 | ||
| macos-oldrel-x86_64 | OK | 209 | ||
| windows-devel | OK | 142 | ||
| windows-release | OK | 138 | ||
| windows-oldrel | OK | 175 | ||
| wasm-release | OK | 123 |
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
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Convert an object to a ggWebGL primitive specification | as_ggwebgl_spec as_ggwebgl_spec.boids_simulation |
| Build boids rule parameters | boids_params |
| Generate and simulate a named boids scenario | boids_scenario |
| Create initial boids state | boids_state |
| Build a boids simulation world | boids_world |
| Simulate boids dynamics | simulate_boids |
