{"id":15137995,"url":"https://github.com/r4gus/nodus","last_synced_at":"2025-09-29T06:31:11.180Z","repository":{"id":38329607,"uuid":"434414628","full_name":"r4gus/nodus","owner":"r4gus","description":"A logic gate simulator written in Rust using the Bevy game engine.","archived":true,"fork":false,"pushed_at":"2022-07-26T22:49:45.000Z","size":8528,"stargazers_count":115,"open_issues_count":3,"forks_count":6,"subscribers_count":7,"default_branch":"main","last_synced_at":"2024-09-27T07:04:12.308Z","etag":null,"topics":["bevy","bevy-engine","circuit","gate","logic","logic-circuit","logic-gates","rust","simulator"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/r4gus.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}},"created_at":"2021-12-03T00:15:31.000Z","updated_at":"2024-09-24T07:19:03.000Z","dependencies_parsed_at":"2022-07-11T02:00:41.049Z","dependency_job_id":null,"html_url":"https://github.com/r4gus/nodus","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r4gus%2Fnodus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r4gus%2Fnodus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r4gus%2Fnodus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r4gus%2Fnodus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/r4gus","download_url":"https://codeload.github.com/r4gus/nodus/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234597573,"owners_count":18857980,"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":["bevy","bevy-engine","circuit","gate","logic","logic-circuit","logic-gates","rust","simulator"],"created_at":"2024-09-26T07:04:10.812Z","updated_at":"2025-09-29T06:31:10.438Z","avatar_url":"https://github.com/r4gus.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Nodus\n\nA graphical __logic gate simulator__.\n\nThis project is in an early stage of development but most of the basic features are implemented.\n\n## Features\n\nChoose from a variety of logic gates, input controls and output controls to build digital circuits using\na drag and drop interface.\n\n![Simple Circuit](images/example-app.png)\n\n| Gates | Input controls | Output controls |\n|:-----:|:--------------:|:---------------:|\n|  AND  |   High const   |   Light bulb    |\n| NAND |   Low const    |    7-Segment display   |\n| OR | Toggle switch  |                 |\n| NOR |     Clock      |                 |\n| NOT |                |                 |\n| XOR |                |                 |\n\n![Logic Gate Selection](images/components.png)\n\nInsert components into the world using a radial context menu.\n\n![Context Menu](images/context.png)\n\nSave the circuits you've created in a [.ron](https://github.com/ron-rs/ron) file and reload them later.\n\n![Simple Circuit](images/save-load.png)\n\n## Getting started\n\nSetup the Rust development environment and Bevy.\n\n### Installing Rust\n\nInstall Rust by following the [Getting Started Guide](https://www.rust-lang.org/learn/get-started).\n\n### Setting up Bevy\n\nFollow this [Guide](https://bevyengine.org/learn/book/getting-started/setup/) to setup Bevy.\n\n### Run program\n\nFirst clone the repository.\n```\ngit clone https://github.com/r4gus/nodus.git\n```\n\nThen switch into the project folder and run the program.\n```\ncd nodus\ncargo run\n```\n\n## Known Issues\n\nHere are some tips to solve known issues.\n\n\u003e __Note:__ Make sure you've installed all required dependencies ([linux](https://github.com/bevyengine/bevy/blob/main/docs/linux_dependencies.md), [windows](https://visualstudio.microsoft.com/thank-you-downloading-visual-studio/?sku=BuildTools\u0026rel=16)).\n\n### Ubuntu linker error\n\nIf you get the following link error in Ubunut/ Debian,\n\n```\n= note: /usr/bin/ld: cannot find -lxcb-render\n          /usr/bin/ld: cannot find -lxcb-shape\n          /usr/bin/ld: cannot find -lxcb-xfixes\n          collect2: error: ld returned 1 exit status\n```\n\ntry to install `libxcb-shape0-dev` and `libxcb-xfixes0-dev` separately, i.e. `sudo apt install libxcb-shape0-dev libxcb-xfixes0-dev`.\n\n### AMD driver issue\n\nIf you get the following runtime error,\n\n```\nthread 'main' panicked at 'Failed to acquire next swap chain texture!: Timeout', /home/USERNAME/.cargo/registry/src/github.com-1ecc6299db9ec823/bevy_render-0.6.0/src/view/window.rs:161:24\n```\n\nyou can either try to disable `vsync` in `src/main.rs`, or switch from `AMDVLK` to `RADV`: `AMD_VULKAN_ICD=RADV cargo run` (maybe [this](https://wiki.archlinux.org/title/Vulkan#Selecting_Vulkan_driver) can help).\n\n\n## Controls\n\n- `lmb pressed`: select/ drag (selection mode - `s`), pan (pan mode - `p`)\n- `rmb pressed`: open context menu\n- `mouse wheel`: zoom\n\n## Planned Features\n\n- [ ] Create new logic components from existing circuits\n- [ ] Create truth tables from circuits\n\n## Credits\n\n* [The Bevy Engine](https://bevyengine.org/)\n* [Bevy Prototype Lyon](https://github.com/Nilirad/bevy_prototype_lyon)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fr4gus%2Fnodus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fr4gus%2Fnodus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fr4gus%2Fnodus/lists"}