{"id":13342967,"url":"https://github.com/maxencebonamy/Sand-Box","last_synced_at":"2025-03-12T03:30:47.294Z","repository":{"id":51686086,"uuid":"495953546","full_name":"maxencebonamy/Sand-Box","owner":"maxencebonamy","description":"This software is a physical simulation. You can arrange different physical elements anywhere in the window, and they will evolve with each other according to the laws of physics.","archived":false,"fork":false,"pushed_at":"2023-10-08T07:54:09.000Z","size":9494,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-07T08:52:48.127Z","etag":null,"topics":["cpp","physics","sandbox","sfml","simulation","xmake"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/maxencebonamy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2022-05-24T19:03:15.000Z","updated_at":"2023-11-24T20:57:17.000Z","dependencies_parsed_at":"2024-10-24T05:19:58.544Z","dependency_job_id":"40f6dd0a-2e45-4011-9f90-a05d288574c6","html_url":"https://github.com/maxencebonamy/Sand-Box","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxencebonamy%2FSand-Box","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxencebonamy%2FSand-Box/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxencebonamy%2FSand-Box/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxencebonamy%2FSand-Box/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maxencebonamy","download_url":"https://codeload.github.com/maxencebonamy/Sand-Box/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243150714,"owners_count":20244447,"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":["cpp","physics","sandbox","sfml","simulation","xmake"],"created_at":"2024-07-29T19:30:08.897Z","updated_at":"2025-03-12T03:30:47.000Z","avatar_url":"https://github.com/maxencebonamy.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n\t\u003cimg src=\"https://github.com/maxencebonamy/maxencebonamy/blob/main/assets/Sand_Box.png\" width=\"100%\" alt=\"Sand Box\"\u003e\n\u003c/p\u003e\n\nhttps://github.com/maxencebonamy/Sand-Box/assets/66129931/98f83fe8-437f-4502-9f61-f1b0365b798f\n\n\u003cbr\u003e\n\n\u003cp align=\"center\"\u003e\n\t\u003cimg src=\"https://github.com/maxencebonamy/maxencebonamy/blob/main/assets/1_Description.png\" width=\"100%\" alt=\"Description\"\u003e\n\u003c/p\u003e\n\nThis software is a physical simulation. You can arrange different physical elements anywhere in the window, and they will evolve with each other according to the laws of physics.\n\n\u003cimg src=\"https://github.com/maxencebonamy/Sand-Box/blob/main/assets/void.png\" alt=\"air\" height=\"24px\" align=\"top\"\u003e **Air:** the basic element, used above all to \"clear\" the screen if you've placed too many elements. Be careful: if you place air in water, the air will obviously rise to the surface.\n\n\u003cimg src=\"https://github.com/maxencebonamy/Sand-Box/blob/main/assets/sand.png\" alt=\"sand\" height=\"24px\" align=\"top\"\u003e **Sand:** evolves simply like powder, so is subject to gravity and forms hills.\n\n\u003cimg src=\"https://github.com/maxencebonamy/Sand-Box/blob/main/assets/water.png\" alt=\"water\" height=\"24px\" align=\"top\"\u003e **Water:** evolves simply like a liquid, so is also subject to gravity, but spreads wherever possible.\n\n\u003cimg src=\"https://github.com/maxencebonamy/Sand-Box/blob/main/assets/steam.png\" alt=\"steam\" height=\"24px\" align=\"top\"\u003e **Steam:** evolves simply like a gas, but rises as high as possible because steam is lighter than air. Steam can return to its liquid state and turn back into water after a while, which is similar to rain.\n\n\u003cimg src=\"https://github.com/maxencebonamy/Sand-Box/blob/main/assets/wood.png\" alt=\"wood\" height=\"24px\" align=\"top\"\u003e **Wood:** here, the wood doesn't fall, which may seem odd, but you have to imagine that it's fixed in height. The wood burns and the fire spreads relatively quickly over it.\n\n\u003cimg src=\"https://github.com/maxencebonamy/Sand-Box/blob/main/assets/fire.png\" alt=\"fire\" height=\"24px\" align=\"top\"\u003e **Fire:** heats or even burns an element. Placed next to wood, it ignites the latter. Placed near snow or ice, it will transform it into water, and will also transform the latter into steam.\n\n\u003cimg src=\"https://github.com/maxencebonamy/Sand-Box/blob/main/assets/ash.png\" alt=\"ash\" height=\"24px\" align=\"top\"\u003e **Ash:** when wood burns, it turns to ash, which falls like sand, thus acting like powder.\n\n\u003cimg src=\"https://github.com/maxencebonamy/Sand-Box/blob/main/assets/stone.png\" alt=\"stone\" height=\"24px\" align=\"top\"\u003e **Stone:** like wood, it doesn't fall, and you have to imagine that it's \"fixed\". There's nothing special about stone, except that it doesn't burn.\n\n\u003cimg src=\"https://github.com/maxencebonamy/Sand-Box/blob/main/assets/acid.png\" alt=\"acid\" height=\"24px\" align=\"top\"\u003e **Acid:** dissolves any element, such as stone. Caution: when acid touches water, it dissolves.\n\n\u003cimg src=\"https://github.com/maxencebonamy/Sand-Box/blob/main/assets/snow.png\" alt=\"snow\" height=\"24px\" align=\"top\"\u003e **Snow:** acts like a classic powder, like sand or ashes. Beware, however, that snow sometimes transforms into water after a certain time, as the temperature of the simulation is considered to be room temperature.\n\n\u003cimg src=\"https://github.com/maxencebonamy/Sand-Box/blob/main/assets/ice.png\" alt=\"ice\" height=\"24px\" align=\"top\"\u003e **Ice:** like wood or stone, ice is not subject to gravity. And like snow, it melts after a certain time, turning into water.\n\n\u003cbr\u003e\n\n\u003cp align=\"center\"\u003e\n\t\u003cimg src=\"https://github.com/maxencebonamy/maxencebonamy/blob/main/assets/2_Get_Started.png\" width=\"100%\" alt=\"Get Started\"\u003e\n\u003c/p\u003e\n\n### Launch the software:\n\n1. Click on the \u003ca href=\"https://github.com/maxencebonamy/Sand-Box/releases\" target=\"_blank\"\u003eReleases\u003c/a\u003e button on the right and select the **latest version**.\n2. Download the **.zip** archive and extract the files.\n3. Run the **.exe** executable.\n\n### Compile:\n\n\u003e [!NOTE]\n\u003e *Prerequisites:*\n\u003e - [x] *Git must be installed on your computer. If not, \u003ca href=\"https://git-scm.com/downloads\" target=\"_blank\"\u003eclick here.\u003c/a\u003e*\n\u003e - [x] *Xmake must be installed on your computer, if not, \u003ca href=\"https://xmake.io/#/getting_started?id=installation\" target=\"_blank\"\u003eclick here.\u003c/a\u003e*\n\u003cbr\u003e\n\n1. **Clone** the repository on your computer. To do this, open a terminal in the folder of your choice and run the following command:\n```\ngit clone https://github.com/maxencebonamy/Sand-Box\n```\n\n2. **Navigate** inside the folder you've just cloned with the following command:\n```\ncd Sand-Box\n```\n\n3. **Compile** the project with the following command:\n```\nxmake\n```\n\n4. **Run** the executable with this command:\n```\nxmake run\n```\n\n\u003cbr\u003e\n\n\u003cp align=\"center\"\u003e\n\t\u003cimg src=\"https://github.com/maxencebonamy/maxencebonamy/blob/main/assets/3_Features.png\" width=\"100%\" alt=\"Features\"\u003e\n\u003c/p\u003e\n\n### Actions you can perform in the software:\n- Hold down the left click and move your mouse to place elements on the window.\n- Right-click to show or hide the selection bar for the current element.\n- If the element selection bar is displayed, simply left-click on an element to select it.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxencebonamy%2FSand-Box","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxencebonamy%2FSand-Box","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxencebonamy%2FSand-Box/lists"}