{
  "_id": "6a102ac3acfb0bcc41c9223f",
  "Type": "Package",
  "Package": "particles",
  "Title": "A Graph Based Particle Simulator Based on D3-Force",
  "Version": "0.2.4.9000",
  "Authors@R": "c(\nperson(\"Thomas Lin\", \"Pedersen\", , \"thomasp85@gmail.com\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-5147-4711\")),\nperson(\"Andrei\", \"Kashcha\", role = \"ctb\")\n)",
  "Maintainer": "Thomas Lin Pedersen <thomasp85@gmail.com>",
  "Description": "Simulating particle movement in 2D space has many\napplication. The 'particles' package implements a particle\nsimulator based on the ideas behind the 'd3-force' 'JavaScript'\nlibrary. 'particles' implements all forces defined in\n'd3-force' as well as others such as vector fields, traps, and\nattractors.",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/thomasp85/particles",
  "BugReports": "https://github.com/thomasp85/particles/issues",
  "VignetteBuilder": "knitr",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "Config/build/compilation-database": "true",
  "Config/pak/sysreqs": "libglpk-dev libicu-dev libxml2-dev",
  "Repository": "https://thomasp85.r-universe.dev",
  "Date/Publication": "2024-12-03 09:10:14 UTC",
  "RemoteUrl": "https://github.com/thomasp85/particles",
  "RemoteRef": "HEAD",
  "RemoteSha": "6c3af60216aa4188c65c0054bd9d10d9e3b8cf54",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-13 06:53:58 UTC",
    "User": "root"
  },
  "Author": "Thomas Lin Pedersen [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-5147-4711>),\nAndrei Kashcha [ctb]",
  "MD5sum": "cd110193fb2716ea618e2640ad7a7d7c",
  "_user": "thomasp85",
  "_type": "src",
  "_file": "particles_0.2.4.9000.tar.gz",
  "_fileid": "fb15d9d3c47cf4f4e1e558a43adba790bf5757123c36a2ae0cb2a937d9e13d94",
  "_filesize": 984590,
  "_sha256": "fb15d9d3c47cf4f4e1e558a43adba790bf5757123c36a2ae0cb2a937d9e13d94",
  "_created": "2026-05-13T06:53:58.000Z",
  "_published": "2026-05-22T10:06:59.760Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77358537410,
      "time": 151,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6963514060"
    },
    {
      "job": 77358537328,
      "time": 157,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6963516158"
    },
    {
      "job": 77358537944,
      "time": 152,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6963514451"
    },
    {
      "job": 77358537396,
      "time": 163,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6963519158"
    },
    {
      "job": 77358537606,
      "time": 154,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6963655688"
    },
    {
      "job": 77358537505,
      "time": 276,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6963648621"
    },
    {
      "job": 77358537165,
      "time": 125,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6963612812"
    },
    {
      "job": 77358537337,
      "time": 345,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6963668330"
    },
    {
      "job": 77358537053,
      "time": 212,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6963475100"
    },
    {
      "job": 77358536618,
      "time": 131,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7157964575"
    },
    {
      "job": 77358537604,
      "time": 139,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6963510943"
    },
    {
      "job": 77358537211,
      "time": 118,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6963505797"
    },
    {
      "job": 77358537580,
      "time": 127,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6963507901"
    }
  ],
  "_buildurl": "https://github.com/r-universe/thomasp85/actions/runs/25783290672",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/thomasp85/particles",
  "_commit": {
    "id": "6c3af60216aa4188c65c0054bd9d10d9e3b8cf54",
    "author": "Thomas Lin Pedersen <thomasp85@gmail.com>",
    "committer": "Thomas Lin Pedersen <thomasp85@gmail.com>",
    "message": "Increment version number to 0.2.4.9000\n",
    "time": 1733217014
  },
  "_maintainer": {
    "name": "Thomas Lin Pedersen",
    "email": "thomasp85@gmail.com",
    "login": "thomasp85",
    "mastodon": "@thomasp85@fosstodon.org",
    "linkedin": "in/thomasp85",
    "orcid": "0000-0002-5147-4711",
    "twitter": "@thomasp85",
    "uuid": 1775316
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "cpp11",
      "role": "LinkingTo"
    },
    {
      "package": "digest",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "igraph",
      "role": "Imports"
    },
    {
      "package": "mgcv",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "tidygraph",
      "role": "Imports"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "ggraph",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "thomasp85",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "d3js",
    "graph-layout",
    "network",
    "network-visualization",
    "particles",
    "simulation",
    "cpp"
  ],
  "_stars": 120,
  "_contributors": [
    {
      "user": "thomasp85",
      "count": 125,
      "uuid": 1775316
    },
    {
      "user": "waschina",
      "count": 2,
      "uuid": 32539757
    }
  ],
  "_userbio": {
    "uuid": 1775316,
    "type": "user",
    "name": "Thomas Lin Pedersen",
    "description": "Maker of tools focusing on data science and data visualisation"
  },
  "_downloads": {
    "count": 250,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/particles"
  },
  "_mentions": 6,
  "_devurl": "https://github.com/thomasp85/particles",
  "_searchresults": 49,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/particles.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/thomasp85/particles",
  "_realowner": "thomasp85",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.2.1",
      "date": "2018-02-26"
    },
    {
      "version": "0.2.2",
      "date": "2019-01-14"
    },
    {
      "version": "0.2.3",
      "date": "2022-08-19"
    },
    {
      "version": "0.2.4",
      "date": "2024-12-03"
    }
  ],
  "_exports": [
    "activate",
    "add_particles",
    "aquarium_genesis",
    "bigbang_genesis",
    "center_force",
    "clear_history",
    "collision_force",
    "dominator_constraint",
    "evolutions",
    "evolve",
    "field_force",
    "filter",
    "get_history",
    "history_length",
    "impose",
    "infinity_constraint",
    "is.simulation",
    "link_force",
    "manybody_force",
    "map_force",
    "mean_force",
    "mutate",
    "mutate_all",
    "mutate_at",
    "particles",
    "path_constraint",
    "petridish_genesis",
    "phyllotactic_genesis",
    "polygon_constraint",
    "position",
    "predefined_genesis",
    "random_force",
    "record",
    "reheat",
    "reimpose",
    "replace_particles",
    "reset_force",
    "rewield",
    "simulate",
    "slice",
    "trap_force",
    "unimpose",
    "unwield",
    "velocity",
    "velocity_constraint",
    "wield",
    "x_constraint",
    "x_force",
    "y_constraint",
    "y_force"
  ],
  "_help": [
    {
      "page": "center_force",
      "title": "Center all particles around the origin without affecting velocity",
      "concept": [
        "forces"
      ],
      "topics": [
        "center_force"
      ]
    },
    {
      "page": "collision_force",
      "title": "Models particles as circles with a given radius and pushes overlapping particles apart",
      "concept": [
        "forces"
      ],
      "topics": [
        "collision_force"
      ]
    },
    {
      "page": "dominator_constraint",
      "title": "Restrict child position based on parent position",
      "concept": [
        "constraints"
      ],
      "topics": [
        "dominator_constraint"
      ]
    },
    {
      "page": "evolve",
      "title": "Move the simulation forward one or more steps",
      "topics": [
        "evolve"
      ]
    },
    {
      "page": "field_force",
      "title": "Apply a vector field to particles",
      "concept": [
        "forces"
      ],
      "topics": [
        "field_force"
      ]
    },
    {
      "page": "genesis",
      "title": "Particle initialisation",
      "topics": [
        "aquarium_genesis",
        "bigbang_genesis",
        "genesis",
        "petridish_genesis",
        "phyllotactic_genesis",
        "predefined_genesis"
      ]
    },
    {
      "page": "wield",
      "title": "Assign a force or constraint to a simulation",
      "topics": [
        "impose",
        "reimpose",
        "rewield",
        "unimpose",
        "unwield",
        "wield"
      ]
    },
    {
      "page": "infinity_constraint",
      "title": "Reposition particles outside a canvas so they wrap around",
      "concept": [
        "constraints"
      ],
      "topics": [
        "infinity_constraint"
      ]
    },
    {
      "page": "link_force",
      "title": "Attract or repel linked particles",
      "concept": [
        "forces"
      ],
      "topics": [
        "link_force"
      ]
    },
    {
      "page": "manybody_force",
      "title": "Model attraction or repulsion between all particles in the system",
      "concept": [
        "forces"
      ],
      "topics": [
        "manybody_force"
      ]
    },
    {
      "page": "map_force",
      "title": "Apply a map to particles",
      "concept": [
        "forces"
      ],
      "topics": [
        "map_force"
      ]
    },
    {
      "page": "mean_force",
      "title": "Apply the mean velocity of all the neighbors to a particle",
      "concept": [
        "forces"
      ],
      "topics": [
        "mean_force"
      ]
    },
    {
      "page": "path_constraint",
      "title": "Limit particle position to be along a path or outline",
      "concept": [
        "constraints"
      ],
      "topics": [
        "path_constraint"
      ]
    },
    {
      "page": "polygon_constraint",
      "title": "Fixes particles to be inside a polygon",
      "concept": [
        "constraints"
      ],
      "topics": [
        "polygon_constraint"
      ]
    },
    {
      "page": "random_force",
      "title": "Modify the velocity randomly at each step",
      "concept": [
        "forces"
      ],
      "topics": [
        "random_force"
      ]
    },
    {
      "page": "reset_force",
      "title": "Reset the velocity verlet of particles to a fixed value",
      "concept": [
        "forces"
      ],
      "topics": [
        "reset_force"
      ]
    },
    {
      "page": "simulate",
      "title": "Start a simulation based on a graph",
      "topics": [
        "clear_history",
        "evolutions",
        "get_history",
        "history_length",
        "is.simulation",
        "particles",
        "position",
        "record",
        "reheat",
        "simulate",
        "simulation",
        "velocity"
      ]
    },
    {
      "page": "simulation_modification",
      "title": "Modify the particles in a simulation",
      "topics": [
        "add_interaction",
        "add_particles",
        "replace_particles",
        "simulation_modification"
      ]
    },
    {
      "page": "trap_force",
      "title": "Attract and trap particles within polygons",
      "concept": [
        "forces"
      ],
      "topics": [
        "trap_force"
      ]
    },
    {
      "page": "velocity_constraint",
      "title": "Limits particles to a specific velocity range",
      "concept": [
        "constraints"
      ],
      "topics": [
        "velocity_constraint"
      ]
    },
    {
      "page": "x_constraint",
      "title": "Fixes particles to a horizontal position",
      "concept": [
        "constraints"
      ],
      "topics": [
        "x_constraint"
      ]
    },
    {
      "page": "x_force",
      "title": "Attract particles towards a horizontal position",
      "concept": [
        "forces"
      ],
      "topics": [
        "x_force"
      ]
    },
    {
      "page": "y_constraint",
      "title": "Fixes particles to a vertical position",
      "concept": [
        "constraints"
      ],
      "topics": [
        "y_constraint"
      ]
    },
    {
      "page": "y_force",
      "title": "Attract particles towards a vertical position",
      "concept": [
        "forces"
      ],
      "topics": [
        "y_force"
      ]
    }
  ],
  "_pkglogo": "https://github.com/thomasp85/particles/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/thomasp85/particles/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "digest",
    "dplyr",
    "generics",
    "glue",
    "igraph",
    "lattice",
    "lifecycle",
    "magrittr",
    "Matrix",
    "mgcv",
    "nlme",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "rlang",
    "stringi",
    "stringr",
    "tibble",
    "tidygraph",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "intro.Rmd",
      "filename": "intro.html",
      "title": "Introduction to Particles",
      "author": "Thomas Lin Pedersen",
      "engine": "knitr::rmarkdown",
      "headings": [
        "What is particles?",
        "Setting up a simulation",
        "Tidy eval",
        "Iteration callback",
        "Summing up"
      ],
      "created": "2018-02-21 21:06:56",
      "modified": "2022-08-19 11:49:32",
      "commits": 4
    }
  ],
  "_score": 7.246498580795802,
  "_indexed": true,
  "_nocasepkg": "particles",
  "_universes": [
    "thomasp85"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.4.9000",
      "date": "2026-05-13T06:56:17.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "6c3af60216aa4188c65c0054bd9d10d9e3b8cf54",
      "fileid": "677bd1e15a429d65c70dd44f4d3cd0b5516250e44e33ab6898e5ea3f0634189d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thomasp85/actions/runs/25783290672"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.4.9000",
      "date": "2026-05-13T06:56:19.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "6c3af60216aa4188c65c0054bd9d10d9e3b8cf54",
      "fileid": "557c7badab4dd1e50cb21a90f6cd7bc765983bb01de70c4a9e03872c92a4493e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thomasp85/actions/runs/25783290672"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.4.9000",
      "date": "2026-05-13T06:56:18.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "6c3af60216aa4188c65c0054bd9d10d9e3b8cf54",
      "fileid": "4fba6b29eb88b1ab57ef83df0c5d0c6b91770d5eed99bd0dffe245b69fc3dbf5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thomasp85/actions/runs/25783290672"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.4.9000",
      "date": "2026-05-13T06:56:28.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "6c3af60216aa4188c65c0054bd9d10d9e3b8cf54",
      "fileid": "3510f8def6543049dd0a14ddff93f449fdba9ce8ad12ced2c6c57b1491953904",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thomasp85/actions/runs/25783290672"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.4.9000",
      "date": "2026-05-13T07:04:51.000Z",
      "arch": "aarch64",
      "commit": "6c3af60216aa4188c65c0054bd9d10d9e3b8cf54",
      "fileid": "df7808ac14ce3afd6697e3dd3597b9ae674e987e794c0161c5d7a71435e8379b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thomasp85/actions/runs/25783290672"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.4.9000",
      "date": "2026-05-13T07:03:54.000Z",
      "arch": "x86_64",
      "commit": "6c3af60216aa4188c65c0054bd9d10d9e3b8cf54",
      "fileid": "18eeb944bab6ae1f7799c6363a23cb16ecf7bc96c3ed622605d7b9cf18048773",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thomasp85/actions/runs/25783290672"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.4.9000",
      "date": "2026-05-13T07:02:27.000Z",
      "arch": "aarch64",
      "commit": "6c3af60216aa4188c65c0054bd9d10d9e3b8cf54",
      "fileid": "dce32d45686a3627f198094d266f3f1007e2f2603b59dbe97d6f6385c49fb8ef",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thomasp85/actions/runs/25783290672"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.4.9000",
      "date": "2026-05-13T07:04:10.000Z",
      "arch": "x86_64",
      "commit": "6c3af60216aa4188c65c0054bd9d10d9e3b8cf54",
      "fileid": "82d63f4479429a0bc8d7f62d8ddbe5c00b3da5333fb3a366625433f4cf190ae7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thomasp85/actions/runs/25783290672"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.4.9000",
      "date": "2026-05-13T06:55:32.000Z",
      "arch": "x86_64",
      "commit": "6c3af60216aa4188c65c0054bd9d10d9e3b8cf54",
      "fileid": "540c501efc4b83805e5c081c11bd25afd82069bb3aeefcc539ef65681fe4668d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thomasp85/actions/runs/25783290672"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.4.9000",
      "date": "2026-05-13T06:55:20.000Z",
      "arch": "x86_64",
      "commit": "6c3af60216aa4188c65c0054bd9d10d9e3b8cf54",
      "fileid": "53e7eb37afb62a821486da35d38d2873a4dead724fa9f08f3ad738990d1a1787",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thomasp85/actions/runs/25783290672"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.4.9000",
      "date": "2026-05-13T06:55:28.000Z",
      "arch": "x86_64",
      "commit": "6c3af60216aa4188c65c0054bd9d10d9e3b8cf54",
      "fileid": "b3dffdc3446a5ccda023225e08fe600b33a2990c660b662a64780955af12b69d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thomasp85/actions/runs/25783290672"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.4.9000",
      "date": "2026-05-22T10:06:36.000Z",
      "arch": "emscripten",
      "commit": "6c3af60216aa4188c65c0054bd9d10d9e3b8cf54",
      "fileid": "5a541b9cb09790a16da2fcdc088232574e1f5b816d60d21a93441fb1bcf415b7",
      "status": "success",
      "buildurl": "https://github.com/r-universe/thomasp85/actions/runs/25783290672"
    }
  ]
}