These examples use 3D boids4R simulations with
ggWebGL orbit-camera rendering. Current boids are
emphasized, velocity arrows follow species colours, and recent trails
remain faint so current flock state stays readable.
Live WebGL widgets are disabled during CRAN, package checks, and CI.
Rich local or pkgdown rendering requires
GGWEBGL_EVAL_COVERAGE_VIGNETTE=true and
GGWEBGL_EVAL_LIVE_WIDGETS=true.
if (!boids4r_available) {
cat("boids4R is unavailable, so live 3D boids widgets are skipped.\n")
} else if (!ggwebgl_eval_widgets) {
cat("boids4R is available, but live 3D boids widgets are skipped because live widget evaluation is disabled.\n")
} else {
cat("boids4R is available; live 3D boids widgets will be rendered below.\n")
}