{"id":20640547,"url":"https://github.com/joakimteixeira/computer-graphics","last_synced_at":"2026-05-09T06:03:56.795Z","repository":{"id":122991825,"uuid":"280645756","full_name":"JoakimTeixeira/computer-graphics","owner":"JoakimTeixeira","description":"Applications made with GLUT library.","archived":false,"fork":false,"pushed_at":"2024-11-07T19:36:36.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-08-22T07:34:47.280Z","etag":null,"topics":["c","computer-graphics","cpp","glut","opengl"],"latest_commit_sha":null,"homepage":"","language":"C","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/JoakimTeixeira.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":"2020-07-18T11:50:05.000Z","updated_at":"2024-11-07T19:36:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"9d72dcca-a21b-4935-a77d-51f6028df5b6","html_url":"https://github.com/JoakimTeixeira/computer-graphics","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/JoakimTeixeira/computer-graphics","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoakimTeixeira%2Fcomputer-graphics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoakimTeixeira%2Fcomputer-graphics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoakimTeixeira%2Fcomputer-graphics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoakimTeixeira%2Fcomputer-graphics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JoakimTeixeira","download_url":"https://codeload.github.com/JoakimTeixeira/computer-graphics/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoakimTeixeira%2Fcomputer-graphics/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32809149,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"online","status_checked_at":"2026-05-09T02:00:06.633Z","response_time":123,"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":["c","computer-graphics","cpp","glut","opengl"],"created_at":"2024-11-16T15:29:52.749Z","updated_at":"2026-05-09T06:03:56.780Z","avatar_url":"https://github.com/JoakimTeixeira.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Computer Graphics\n\nApplications made with GLUT library.\n\n## Projects\n\nThe following projects have been made with GLUT and compiled with `GCC`\n\n### Color and Gradient\n\nDraws a 4-color gradient square\n\n![image](https://user-images.githubusercontent.com/12193814/87869521-cfed9800-c976-11ea-8373-ed5a65df4385.png)\n\n### Geometric Figures\n\nDraws a letter made with many polygons and geometric shapes\n\n![image](https://user-images.githubusercontent.com/12193814/87869559-21962280-c977-11ea-8759-333f51dc912b.png)\n\n### Keyboard and Mouse\n\nAllows the user to draw different objects on a white canvas and change their color, using a keyboard and mouse\n\n![image](https://user-images.githubusercontent.com/12193814/87869686-02e45b80-c978-11ea-993a-d68d5d955583.png)\n\n### Keyboard and Math Functions\n\nAllows the user to draw and erase mathematical functions into a cartesian coordinate system, using the keyboard\n\n![image](https://user-images.githubusercontent.com/12193814/87869715-30c9a000-c978-11ea-803a-762a8e773057.png)\n\n### Paint Prototype\n\nThis Paint graphic editor imitation, allows users to draw shapes with vertices and change their color, using a keyboard and mouse\n\n![image](https://user-images.githubusercontent.com/12193814/87869814-16dc8d00-c979-11ea-86ce-80ad899054ee.png)\n\n## Running the Project\n\nTo get started, fork the repository and then run the instructions below:\n\n- Install the GLUT library by opening your Linux terminal and typing:\n\n      sudo apt update \u0026\u0026 sudo apt-get install freeglut3-dev -y\n\n- Follow one of the two options presented:\n\n### With Visual Studio Code:\n\n1. Install [Visual Studio Code](https://code.visualstudio.com/Download) (text editor)\n2. Install the [plugin](https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools) for C/C++\n3. Open the text editor and import the project folder with the menu `File \u003e Open Folder`\n4. Select the C/C++ file you want to compile\n5. Press `Ctrl + Shift + B` or menu `Terminal \u003e Run Build Task` to compile it\n6. Go to the text editor's terminal and open the file by typing: `./my-file-name`\n\n**Obs:** Change `\"command\"` line from `tasks.json` file to:\n\n- `\"command\": \"gcc\"` to compile C files\n- `\"command\": \"g++\"` to compile C++ files\n\n### With IDE:\n\n1. Open the project folder in your favorite text editor or IDE (Integrated Development Environment)\n2. Select the C/C++ file you want to compile\n3. Open your text editor/IDE terminal and compile the file by typing `gcc file-name.c -o file-name -lm -lGL -lGLU -lglut` or use your IDE compiling option\n4. Go to the text editor's terminal and open the file by typing: `./my-file-name`\n\n### BONUS: How to create a build makefile with VS Code:\n\n1. Open the text editor\n2. Press `Ctrl + Shift + P`\n3. Write and select `Tasks: Configure Default Build Task`\n4. Select `C/C++: gcc build active file`\n5. The task file is created inside the folder called `.vscode`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoakimteixeira%2Fcomputer-graphics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoakimteixeira%2Fcomputer-graphics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoakimteixeira%2Fcomputer-graphics/lists"}