{"id":22854888,"url":"https://github.com/hens-virtuella-varld/2d_data_on_3d_plot","last_synced_at":"2025-03-31T07:25:25.588Z","repository":{"id":68991655,"uuid":"171400533","full_name":"hens-virtuella-varld/2d_data_on_3d_plot","owner":"hens-virtuella-varld","description":"A Python open source project visualizes 2D JSON data on 3D plot.","archived":false,"fork":false,"pushed_at":"2019-05-05T14:43:51.000Z","size":300,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-02-06T12:11:52.918Z","etag":null,"topics":["matplotlib","matplotlib-pyplot","python","python-3","python3"],"latest_commit_sha":null,"homepage":"","language":"Python","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/hens-virtuella-varld.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":"2019-02-19T03:45:15.000Z","updated_at":"2019-05-05T14:43:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"cbeede9b-e1c5-4490-8296-52fdf832ccc3","html_url":"https://github.com/hens-virtuella-varld/2d_data_on_3d_plot","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/hens-virtuella-varld%2F2d_data_on_3d_plot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hens-virtuella-varld%2F2d_data_on_3d_plot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hens-virtuella-varld%2F2d_data_on_3d_plot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hens-virtuella-varld%2F2d_data_on_3d_plot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hens-virtuella-varld","download_url":"https://codeload.github.com/hens-virtuella-varld/2d_data_on_3d_plot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246430924,"owners_count":20776112,"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":["matplotlib","matplotlib-pyplot","python","python-3","python3"],"created_at":"2024-12-13T07:08:57.036Z","updated_at":"2025-03-31T07:25:25.576Z","avatar_url":"https://github.com/hens-virtuella-varld.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 2d_data_on_3d_plot\nA Python open source project visualizes 2D JSON data on 3D plot.\n\nThis project's purpose was to visualize DICOM-RT data.\n\n## Requirements\n- Python 3\n\n## Setup\n```\n$ git clone https://github.com/hens-virtuella-varld/2d_data_on_3d_plot.git\n$ cd 2d_data_on_3d_plot\n(create and activate virtual environment if needed)\n$ pip install -r requirements.txt\n```\n\n## Execution\n```\n$ python generate_cube_json.py \u003e sample.json # This generates a sample data.\n$ python plot.py sample.json cube\n```\n## JSON and plot example\nAn example of cube composed of 3 squares.\n\n```\n{\n  \"cube\": [\n    [\n      { \"x\": 0, \"y\": 0, \"z\": 0.0 },\n      { \"x\": 1, \"y\": 0, \"z\": 0.0 },\n      { \"x\": 1, \"y\": 1, \"z\": 0.0 },\n      { \"x\": 0, \"y\": 1, \"z\": 0.0 },\n      { \"x\": 0, \"y\": 0, \"z\": 0.0 }\n    ],\n    [\n      { \"x\": 0, \"y\": 0, \"z\": 0.5 },\n      { \"x\": 1, \"y\": 0, \"z\": 0.5 },\n      { \"x\": 1, \"y\": 1, \"z\": 0.5 },\n      { \"x\": 0, \"y\": 1, \"z\": 0.5 },\n      { \"x\": 0, \"y\": 0, \"z\": 0.5 }\n    ],\n    [\n      { \"x\": 0, \"y\": 0, \"z\": 1.0 },\n      { \"x\": 1, \"y\": 0, \"z\": 1.0 },\n      { \"x\": 1, \"y\": 1, \"z\": 1.0 },\n      { \"x\": 0, \"y\": 1, \"z\": 1.0 },\n      { \"x\": 0, \"y\": 0, \"z\": 1.0 }\n    ]\n  ]\n}\n\n```\n![sample cube](cube.png)\n\n## License\nCopyright (c) 2019 [hens-virtuella-varld](https://github.com/hens-virtuella-varld)\n\nThe project is licensed under the MIT License. \n\n## Contact\n### Regan Y.\nE-mail: hens.virtuella.varld@gmail.com  \nLinkedIn: https://www.linkedin.com/in/regan-y/  \nI will be happy to talk to you if you have any advices to my project.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhens-virtuella-varld%2F2d_data_on_3d_plot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhens-virtuella-varld%2F2d_data_on_3d_plot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhens-virtuella-varld%2F2d_data_on_3d_plot/lists"}