{"id":18091291,"url":"https://github.com/dfsp-spirit/brainview-rs","last_synced_at":"2025-10-08T07:19:36.173Z","repository":{"id":98535009,"uuid":"345353407","full_name":"dfsp-spirit/brainview-rs","owner":"dfsp-spirit","description":"A simple real-time brain visualization tool for Rust, based on the three-d crate.","archived":false,"fork":false,"pushed_at":"2021-04-12T13:45:54.000Z","size":7602,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-07T13:43:45.701Z","etag":null,"topics":["brain-visualization","neuroimaging","rust","surface"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/dfsp-spirit.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":"2021-03-07T13:26:37.000Z","updated_at":"2025-04-11T08:39:13.000Z","dependencies_parsed_at":"2023-05-29T09:15:08.937Z","dependency_job_id":null,"html_url":"https://github.com/dfsp-spirit/brainview-rs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dfsp-spirit/brainview-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfsp-spirit%2Fbrainview-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfsp-spirit%2Fbrainview-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfsp-spirit%2Fbrainview-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfsp-spirit%2Fbrainview-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dfsp-spirit","download_url":"https://codeload.github.com/dfsp-spirit/brainview-rs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfsp-spirit%2Fbrainview-rs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278904851,"owners_count":26066169,"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","status":"online","status_checked_at":"2025-10-08T02:00:06.501Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["brain-visualization","neuroimaging","rust","surface"],"created_at":"2024-10-31T18:11:17.385Z","updated_at":"2025-10-08T07:19:36.143Z","avatar_url":"https://github.com/dfsp-spirit.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# brainview\n\nA high-level library and a simple viewer (binary) for surface-based structural neuroimaging data, written in [Rust](https://www.rust-lang.org/).\n\nThe `brainview` crate is based on [neuroformats](https://github.com/dfsp-spirit/neuroformats) and [three-d](https://github.com/asny/three-d) by Asger Nyman Christiansen. It can visualize brain surface meshes and related per-vertex data computed from magnetic resonance images (MRI) in [FreeSurfer](http://freesurfer.net/), [CAT12](http://www.neuro.uni-jena.de/cat/) and other neuroimaging software packages which can output or convert to a supported file format.\n\n## Why brainview?\n\nThe goal of the `brainview` crate is to provide a very high-level wrapper around `three-d` that allows neuroscientists using Rust for scientific data analyses to look at their data and statisical results directly in Rust -- without having to export their data first and then load them again in a separate viewer application, which is time-consuming and error-prone when looking at many results.\n\nIdeally, you should be able to load and visualize your neuroimaging data with two function calls.\n\n\n## Usage\n\nThis is WIP, come back another day. Once it's ready, the project will be split into a lib crate for `libbrainview` and a binary crate for the `brainviewer` application.\n\nYou can have a look at [src/main.rs](./src/main.rs) to see the client code used to create the prototype below.\n\n\n## Running the current prototype\n\nIf you insist and have a recent Rust toolchain installed, you can build the current prototype from source and run it like this:\n\n```\ngit clone https://github.com/dfsp-spirit/neuroformats-rs\ngit clone https://github.com/dfsp-spirit/brainview-rs\ncd brainview-rs/\ncargo build --release\n\ncargo run\n```\n\nNote that you need the neuroformats-rs repo in the same directory as it is currently loaded from there. (Yes, this is WIP.)\n\nThis will open a 3D window and show a rotating brain mesh, with vertex colors representing cortical thickness:\n\n![Vis](./resources/web/brainview-rs.jpg?raw=true \"Brain visualizationin Rust.\")\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdfsp-spirit%2Fbrainview-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdfsp-spirit%2Fbrainview-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdfsp-spirit%2Fbrainview-rs/lists"}