{"id":16323647,"url":"https://github.com/im-rises/cubeascii","last_synced_at":"2026-02-09T16:01:36.071Z","repository":{"id":168128242,"uuid":"643750215","full_name":"Im-Rises/CubeAscii","owner":"Im-Rises","description":"Cube ASCII Art for the terminal with color for each faces","archived":false,"fork":false,"pushed_at":"2024-09-03T21:50:40.000Z","size":71,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-31T01:30:43.936Z","etag":null,"topics":["3d","3d-projection","ascii","c","color","cube"],"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/Im-Rises.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":"2023-05-22T04:41:39.000Z","updated_at":"2024-11-19T14:14:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"8a29aafb-15ec-494f-924e-52c370fe9ebf","html_url":"https://github.com/Im-Rises/CubeAscii","commit_stats":null,"previous_names":["im-rises/cubeascii"],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/Im-Rises/CubeAscii","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Im-Rises%2FCubeAscii","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Im-Rises%2FCubeAscii/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Im-Rises%2FCubeAscii/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Im-Rises%2FCubeAscii/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Im-Rises","download_url":"https://codeload.github.com/Im-Rises/CubeAscii/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Im-Rises%2FCubeAscii/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29271848,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-09T13:47:44.167Z","status":"ssl_error","status_checked_at":"2026-02-09T13:47:43.721Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["3d","3d-projection","ascii","c","color","cube"],"created_at":"2024-10-10T22:55:20.404Z","updated_at":"2026-02-09T16:01:36.055Z","avatar_url":"https://github.com/Im-Rises.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CubeAscii\n\nThis is a C project to print a 3D rotating cube in the terminal using ASCII characters with each face having a different\ncolor.\n\nIt uses ANSI escape codes to move the cursor and change the color of the text.\nI used my header only library for this project, you can find\nit at [cUnicodeLib](https://github.com/Im-Rises/cUnicodeLib/tree/main/cUnicodeLib) this library is used to print the\nunicode characters and to change the color of the text (foreground and background).\n\n\u003e **Note**  \n\u003e This project is based on the work from `Servet Gulnaroglu` [here](https://www.youtube.com/watch?v=p09i_hoFdd0)\n\n## Demo\n\nhttps://github.com/Im-Rises/cubeAscii/assets/59691442/f5bd5eae-67f1-4b75-88f0-6140808ba2f8\n\n## How to use\n\n### Build\n\nTo build the project, you need to have `CMake` installed on your computer.  \nThen, you can run the following commands:\n\n```bash\nmkdir build\ncd build\ncmake ..\ncmake --build .\n```\n\n### Run\n\nTo run the project, you can run the following command:\n\n```bash\n./cubeAscii\n```\n\n### Options\n\nYou can use the following options:\n\n- `-h` : to display the usage\n- `-c \u003ccount\u003e` : to set the number of cubes to display (default: 1) choose between 1 and 3\n- `-g` : to display in gray mode the cubes\n- `-m` \u003cvalue\u003e : to set the max rotation speed\n- `-n` \u003cvalue\u003e : to set the min rotation speed\n\nYou can combine the commands to set the number of cubes and to display in gray mode at the same time:\n\n```bash\n./cubeAscii -c 3 -g\n```\n\nThis will display 3 cubes in gray mode.\n\n## Github-Actions\n\n[![flawfinder](https://github.com/Im-Rises/CubeAscii/actions/workflows/flawfinder.yml/badge.svg?branch=main)](https://github.com/Im-Rises/CubeAscii/actions/workflows/flawfinder.yml)\n[![CMake](https://github.com/Im-Rises/CubeAscii/actions/workflows/cmake.yml/badge.svg?branch=main)](https://github.com/Im-Rises/CubeAscii/actions/workflows/cmake.yml)\n[![CodeQL](https://github.com/Im-Rises/CubeAscii/actions/workflows/codeql.yml/badge.svg?branch=main)](https://github.com/Im-Rises/CubeAscii/actions/workflows/codeql.yml)\n[![Cpp Cmake Publish](https://github.com/Im-Rises/CubeAscii/actions/workflows/cpp-cmake-publish.yml/badge.svg?branch=main)](https://github.com/Im-Rises/CubeAscii/actions/workflows/cpp-cmake-publish.yml)\n\nThe project is set with a set of different scripts:\n\n- flawfinder : to check for security flaws in the code\n- CMake : to build the project for Windows, macOS and Linux\n- CodeQl : to check for code quality and security\n- Cpp Cmake Publish : to publish the project on GitHub\n\n## Documentations\n\nWikipedia:  \n\u003chttps://en.wikipedia.org/wiki/ANSI_escape_code\u003e  \n\u003chttps://en.wikipedia.org/wiki/Rotation_matrix\u003e\n\n## Contributors\n\nQuentin MOREL :\n\n- @Im-Rises\n- \u003chttps://github.com/Im-Rises\u003e\n\n[![GitHub contributors](https://contrib.rocks/image?repo=Im-Rises/CubeAscii)](https://github.com/Im-Rises/CubeAscii/graphs/contributors)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fim-rises%2Fcubeascii","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fim-rises%2Fcubeascii","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fim-rises%2Fcubeascii/lists"}