{"id":16746964,"url":"https://github.com/selfup/oxidizy","last_synced_at":"2025-03-23T15:31:06.286Z","repository":{"id":38984021,"uuid":"53243234","full_name":"selfup/oxidizy","owner":"selfup","description":"Life, in its smallest form.","archived":false,"fork":false,"pushed_at":"2025-02-28T18:26:35.000Z","size":386,"stargazers_count":8,"open_issues_count":0,"forks_count":4,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-03-18T21:50:58.968Z","etag":null,"topics":["atoms","baryons","bevy","cells","cpu-intensive","gpu","life","neutrons","parallel","protons","quarks","ram","rust","simulation","simulator"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/selfup.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2016-03-06T07:31:11.000Z","updated_at":"2025-02-28T18:26:37.000Z","dependencies_parsed_at":"2025-02-21T00:41:54.119Z","dependency_job_id":"a4797ce5-3b26-495c-870b-2b6e09fc5e4d","html_url":"https://github.com/selfup/oxidizy","commit_stats":{"total_commits":206,"total_committers":5,"mean_commits":41.2,"dds":"0.23300970873786409","last_synced_commit":"e24a3bd624f1cde079e61b414df2570ee3cd777a"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/selfup%2Foxidizy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/selfup%2Foxidizy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/selfup%2Foxidizy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/selfup%2Foxidizy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/selfup","download_url":"https://codeload.github.com/selfup/oxidizy/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245122724,"owners_count":20564362,"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":["atoms","baryons","bevy","cells","cpu-intensive","gpu","life","neutrons","parallel","protons","quarks","ram","rust","simulation","simulator"],"created_at":"2024-10-13T02:08:46.081Z","updated_at":"2025-03-23T15:31:06.273Z","avatar_url":"https://github.com/selfup.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"![github-pipeline](https://github.com/selfup/oxidizy/actions/workflows/rust.yml/badge.svg)\n![gitlab-pipeline](https://gitlab.com/selfup/oxidizy/badges/main/pipeline.svg)\n\n# Oxidizy\n\nAn ambitious project to mimic the smaller things in life.\n\nThis is how I learned rust.\n\nThe idea was to build a cli tool that can generate enough life, and _sublife_ (neutrons, protons, electrons), that when you give the tool atomic weights, it can \"generate\" appropriate elements.\n\nNow it uses Bevy and the amazing ECS system to constantly iterate and update atoms on the fly with new particles.\n\nAnother ambitious goal, would be to set up bonding logic to create water or other compounds.\n\nThe most difficult part will be setting up an electro-magnetic field. That is why we are starting with the simplest form of an electro magnetic field.\n\nMore to come :rocket:\n\n---\n\n`cargo run --release \u003cn\u003e`\n\nExample Use (1.728 million atoms rendered on screen):\n\n```\n$ ./scripts/rel.run.sh 120\n+ [[ 120 != '' ]]\n+ cargo run -q --release 120\n2025-01-03T03:02:58.363556Z  INFO bevy_diagnostic::system_information_diagnostics_plugin::internal: SystemInfo { os: \"Windows 10 Pro\", kernel: \"19045\", cpu: \"AMD Ryzen 7 3800X 8-Core Processor\", core_count: \"8\", memory: \"31.9 GiB\" }\n2025-01-03T03:02:58.670692Z  INFO bevy_render::renderer: AdapterInfo { name: \"NVIDIA GeForce RTX 3060 Ti\", vendor: 4318, device: 9353, device_type: DiscreteGpu, driver: \"NVIDIA\", driver_info: \"566.36\", backend: Vulkan }\n2025-01-03T03:02:58.860730Z  INFO bevy_winit::system: Creating new window \"App\" (0v1#4294967296)\n--------------------------------\nThreads: 16\nBuilding.. \n--------------------------------\nUniverse built\n--------------------------------\nCalculating charge of field..\n--------------------------------\nField is Anionic\n--------------------------------\nAtoms: 1728000\nBaryons: 407808000\nQuarks: 1223424000\n--------------------------------\nTotal objects in memory: 1632960000\n--------------------------------\n2025-01-03T03:03:39.747135Z  INFO bevy diagnostic: fps        :    1.887225   (avg 6.317538)\n2025-01-03T03:03:39.747410Z  INFO bevy diagnostic: frame_time :  529.878600ms (avg 259.353702ms)\n2025-01-03T03:03:39.747693Z  INFO bevy diagnostic: frame_count:  170.000000   (avg 110.500000)\n2025-01-03T03:03:40.813600Z  INFO bevy diagnostic: fps        :    1.867156   (avg 6.206554)\n2025-01-03T03:03:40.813866Z  INFO bevy diagnostic: frame_time :  535.573900ms (avg 266.200975ms)\n2025-01-03T03:03:40.814134Z  INFO bevy diagnostic: frame_count:  172.000000   (avg 112.500000)\n2025-01-03T03:03:41.873834Z  INFO bevy diagnostic: fps        :    1.875142   (avg 6.096975)\n2025-01-03T03:03:41.874101Z  INFO bevy diagnostic: frame_time :  533.292900ms (avg 273.076387ms)\n2025-01-03T03:03:41.874380Z  INFO bevy diagnostic: frame_count:  174.000000   (avg 114.500000)\n```\n\n![image](https://github.com/user-attachments/assets/dd767f05-5a4d-4304-9904-991d68ebb261)\n\n### Sans UI\n\nBevy/ECS code is not tested. Still in beta and too many refactorings will take place over the next year or so.\n\nHowever if you want to fill up a bunch of RAM and see how performant the `builder::generate_universe` is, you can run the generate script:\n\n_warning this used up 80% of my RAM and I have 32GB of RAM!_\n\n**`460` is cubed and then 118 default protons and neutrons are made per atom!**\n\n```\n$ ./scripts/generate.sh 460\n--------------------------------\nThreads: 16\nBuilding..\n--------------------------------\nUniverse built\n--------------------------------\nCalculating charge of field..\n--------------------------------\nField is Anionic\n--------------------------------\nAtoms: 97336000\nBaryons: 22971296000\nQuarks: 68913888000\n--------------------------------\nTotal objects in memory: 91982520000\n--------------------------------\n\nreal    0m6.070s\nuser    0m0.000s\nsys     0m0.015s\n```\n\n### Repos\n\nDevelopment Repo is on GitHub: https://github.com/selfup/oxidizy\n\nBackup/Archive Repo is on GitLab: https://gitlab.com/selfup/oxidizy\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fselfup%2Foxidizy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fselfup%2Foxidizy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fselfup%2Foxidizy/lists"}