{"id":15838319,"url":"https://github.com/gamemaker1/agent-torch-visualize","last_synced_at":"2025-04-01T16:42:31.000Z","repository":{"id":255522427,"uuid":"849223275","full_name":"gamemaker1/agent-torch-visualize","owner":"gamemaker1","description":null,"archived":false,"fork":false,"pushed_at":"2024-10-21T15:42:26.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-28T19:47:32.423Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gamemaker1.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-29T07:49:12.000Z","updated_at":"2024-10-21T15:42:29.000Z","dependencies_parsed_at":"2024-10-30T06:16:12.382Z","dependency_job_id":null,"html_url":"https://github.com/gamemaker1/agent-torch-visualize","commit_stats":{"total_commits":6,"total_committers":1,"mean_commits":6.0,"dds":0.0,"last_synced_commit":"7e3aa5771a0f549f4d78566217783d6baacd8cda"},"previous_names":["gamemaker1/agent-torch-visualize"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gamemaker1%2Fagent-torch-visualize","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gamemaker1%2Fagent-torch-visualize/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gamemaker1%2Fagent-torch-visualize/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gamemaker1%2Fagent-torch-visualize/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gamemaker1","download_url":"https://codeload.github.com/gamemaker1/agent-torch-visualize/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246672629,"owners_count":20815430,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-05T16:00:56.800Z","updated_at":"2025-04-01T16:42:30.979Z","avatar_url":"https://github.com/gamemaker1.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Visualizing AgentTorch Simulations\n\nThis module provides a Python API that works seamlessly with AgentTorch\nto visualize a simulation using the trajectory of its state.\n\nThe various supported types of visualizations are described below. To\nrequest/add a new visualization, please open a pull request or an issue.\n\n## GeoPlot\n\nThis visualization renders a 3-D plot of the data given the state\ntrajectory of a simulation, and the path of the property to render.\n\nIt generates an HTML file that contains code to render the plot using\nCesium Ion, and the GeoJSON file of data provided to the plot.\n\nAn example of its usage is as follows:\n\n```py\nfrom agent_torch.visualize import GeoPlot\n\n# create a simulation\n# ...\n\n# create a visualizer\ngeoplot = GeoPlot(config, cesium_token)\n\n# visualize in the runner-loop\nfor i in range(0, num_episodes):\n  runner.step(num_steps_per_episode)\n\n  geoplot.visualize(\n    name = f\"consumer-money-spent-{i}\",\n    state_trajectory = runner.state_trajectory,\n    entity_position = \"consumers/coordinates\",\n    entity_property = \"consumers/money_spent\",\n  )\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgamemaker1%2Fagent-torch-visualize","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgamemaker1%2Fagent-torch-visualize","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgamemaker1%2Fagent-torch-visualize/lists"}