{
  "_id": "6af32df1b90b31e79afd28b6",
  "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-11-10 13:57:17 UTC",
    "User": "root"
  },
  "Author": "Thomas Lin Pedersen [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-5147-4711>),\nAndrei Kashcha [ctb]",
  "_user": "thomasp85",
  "_type": "src",
  "_file": "particles_0.2.4.9000.tar.gz",
  "_fileid": "https://r2.ropensci.org/2e53520b7b7d133bf8f7820b5eed93117b29957e6ea93adedb5526527d5529d9",
  "_filesize": 960962,
  "_sha256": "2e53520b7b7d133bf8f7820b5eed93117b29957e6ea93adedb5526527d5529d9",
  "_expires": "2027-02-18T14:45:03.000Z",
  "_created": "2026-11-10T13:57:17.000Z",
  "_published": "2026-11-10T14:45:05.568Z",
  "_upstream": "https://github.com/thomasp85/particles",
  "_status": "success",
  "_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",
    "description": "Maker of tools focusing on data science and data visualisation",
    "uuid": 1775316
  },
  "_jobs": [
    {
      "job": 129875105839,
      "time": 119,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13770119067"
    },
    {
      "job": 129875105814,
      "time": 148,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13771161039"
    },
    {
      "job": 129875105927,
      "time": 164,
      "config": "linux-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13769664651"
    },
    {
      "job": 129875105953,
      "time": 157,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13771041189"
    },
    {
      "job": 129875105862,
      "time": 137,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13773038718"
    },
    {
      "job": 129875105863,
      "time": 349,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13770743044"
    },
    {
      "job": 129875105885,
      "time": 148,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13770913503"
    },
    {
      "job": 129875105877,
      "time": 316,
      "config": "macos-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13771742516"
    },
    {
      "job": 129872509101,
      "time": 280,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13771475436"
    },
    {
      "job": 129875105811,
      "time": 107,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13771575491"
    },
    {
      "job": 129875105865,
      "time": 207,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13769859828"
    },
    {
      "job": 129875105897,
      "time": 181,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13770244273"
    },
    {
      "job": 129875105905,
      "time": 157,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13771940035"
    },
    {
      "job": 129875105955,
      "time": 255,
      "config": "windows-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13771196180"
    },
    {
      "job": 129875105921,
      "time": 179,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13771510740"
    }
  ],
  "_buildurl": "https://github.com/r-universe/thomasp85/actions/runs/42828604374",
  "_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
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_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": 122,
  "_contributors": [
    {
      "user": "thomasp85",
      "count": 125,
      "uuid": 1775316
    },
    {
      "user": "waschina",
      "count": 2,
      "uuid": 32539757
    }
  ],
  "_userbio": {
    "uuid": 1775316,
    "type": "user",
    "name": "Thomas Lin Pedersen",
    "followers": 3289,
    "description": "Maker of tools focusing on data science and data visualisation"
  },
  "_downloads": {
    "count": 385,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/particles"
  },
  "_mentions": 6,
  "_devurl": "https://github.com/thomasp85/particles",
  "_searchresults": 55,
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/particles.html",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_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": "16-20260322-1ubuntu1",
      "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.303843774888655,
  "_indexed": true,
  "_nocasepkg": "particles",
  "_universes": [
    "thomasp85"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.4.9000",
      "date": "2026-11-10T13:59:23.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "6c3af60216aa4188c65c0054bd9d10d9e3b8cf54",
      "fileid": "https://r2.ropensci.org/320f6900c9d1ab29f3133017884be2d681013d37879a938c24c4442acb75e192",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thomasp85/actions/runs/42828604374"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.4.9000",
      "date": "2026-11-10T13:59:46.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "6c3af60216aa4188c65c0054bd9d10d9e3b8cf54",
      "fileid": "https://r2.ropensci.org/6530b6879c4ff74ec9c995e2703d27112679dd1c0e5cf6a73a4dac93a1158d33",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thomasp85/actions/runs/42828604374"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.2.4.9000",
      "date": "2026-11-10T14:00:05.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "6c3af60216aa4188c65c0054bd9d10d9e3b8cf54",
      "fileid": "https://r2.ropensci.org/7534ee34a95e5cf52c0b41dbe7362739d937d4c6adcb7fa3d80fd6e4843c4277",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thomasp85/actions/runs/42828604374"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.2.4.9000",
      "date": "2026-11-10T13:59:56.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "6c3af60216aa4188c65c0054bd9d10d9e3b8cf54",
      "fileid": "https://r2.ropensci.org/4bcc0ff9973559a7a508597dbd24e3a8816e2be90dff0ea6327ecf45de2ce18b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thomasp85/actions/runs/42828604374"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.4.9000",
      "date": "2026-11-10T14:44:06.000Z",
      "arch": "aarch64",
      "commit": "6c3af60216aa4188c65c0054bd9d10d9e3b8cf54",
      "fileid": "https://r2.ropensci.org/4a86206409505d4c470d9338387e2090858c94f5f8c666206e3b13acf2af5349",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thomasp85/actions/runs/42828604374"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.4.9000",
      "date": "2026-11-10T14:02:26.000Z",
      "arch": "x86_64",
      "commit": "6c3af60216aa4188c65c0054bd9d10d9e3b8cf54",
      "fileid": "https://r2.ropensci.org/09318b5c6d070901aa788e5f16d0ad4d978ae0d500f72755191565ea30b33ada",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thomasp85/actions/runs/42828604374"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.2.4.9000",
      "date": "2026-11-10T14:13:13.000Z",
      "arch": "aarch64",
      "commit": "6c3af60216aa4188c65c0054bd9d10d9e3b8cf54",
      "fileid": "https://r2.ropensci.org/3335353298e4b2ce0e96b4b56f83eca6b2eef594caf262cd6a6ad6c82f3ad47a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thomasp85/actions/runs/42828604374"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.2.4.9000",
      "date": "2026-11-10T14:11:48.000Z",
      "arch": "x86_64",
      "commit": "6c3af60216aa4188c65c0054bd9d10d9e3b8cf54",
      "fileid": "https://r2.ropensci.org/5bb0c609f9665564068b3d5b03100e1e36a974cdc4154a1fac5d2b12563e152f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thomasp85/actions/runs/42828604374"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.4.9000",
      "date": "2026-11-10T13:59:37.000Z",
      "arch": "emscripten",
      "commit": "6c3af60216aa4188c65c0054bd9d10d9e3b8cf54",
      "fileid": "https://r2.ropensci.org/a2f8b85e06fb4009578823a483ee164b4bf12f9eb4aca31842da95e1bf1f478e",
      "status": "success",
      "buildurl": "https://github.com/r-universe/thomasp85/actions/runs/42828604374"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.4.9000",
      "date": "2026-11-10T14:00:27.000Z",
      "arch": "aarch64",
      "commit": "6c3af60216aa4188c65c0054bd9d10d9e3b8cf54",
      "fileid": "https://r2.ropensci.org/d4583303a0f04bbff0658d46d245b4983d391e56130905b44d9e3917fc58c35c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thomasp85/actions/runs/42828604374"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.4.9000",
      "date": "2026-11-10T13:58:57.000Z",
      "arch": "x86_64",
      "commit": "6c3af60216aa4188c65c0054bd9d10d9e3b8cf54",
      "fileid": "https://r2.ropensci.org/9d4abc98dc0107b8676213ecb6615848dd85c23f8993881b75a100aa914349dc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thomasp85/actions/runs/42828604374"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.4.9000",
      "date": "2026-11-10T13:58:59.000Z",
      "arch": "x86_64",
      "commit": "6c3af60216aa4188c65c0054bd9d10d9e3b8cf54",
      "fileid": "https://r2.ropensci.org/89a95e9d3f03a87426729b34cf910c0d4983da4c54a5e7358d11a0ba476ff3a8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thomasp85/actions/runs/42828604374"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.2.4.9000",
      "date": "2026-11-10T14:01:12.000Z",
      "arch": "aarch64",
      "commit": "6c3af60216aa4188c65c0054bd9d10d9e3b8cf54",
      "fileid": "https://r2.ropensci.org/6a5aed654ce32dbf76291cc7189715873b2383026f1517cb9a78637ca705c002",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thomasp85/actions/runs/42828604374"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.2.4.9000",
      "date": "2026-11-10T13:59:01.000Z",
      "arch": "x86_64",
      "commit": "6c3af60216aa4188c65c0054bd9d10d9e3b8cf54",
      "fileid": "https://r2.ropensci.org/db360b3c4038d208c895f4ef2003567026d5704b29f0db0f53d3221b14f9af9a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thomasp85/actions/runs/42828604374"
    }
  ]
}