{"id":22249332,"url":"https://github.com/carlosrocha-dev/42_fdf","last_synced_at":"2025-03-25T12:14:34.119Z","repository":{"id":168309976,"uuid":"643970769","full_name":"carlosrocha-dev/42_fdf","owner":"carlosrocha-dev","description":"How to open a graphics window and draw inside? To start your journey in graphic programming, FdF offers to represent “iron wire” meshing in 3D.","archived":false,"fork":false,"pushed_at":"2023-07-29T17:26:09.000Z","size":7812,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-30T11:10:02.693Z","etag":null,"topics":["events","segment-layout","simple-graphic-library"],"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/carlosrocha-dev.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":"2023-05-22T14:31:23.000Z","updated_at":"2023-05-22T16:11:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"c3ca79c6-963a-4b76-93f2-38341a812ff8","html_url":"https://github.com/carlosrocha-dev/42_fdf","commit_stats":null,"previous_names":["carlosrocha-dev/42_fdf"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carlosrocha-dev%2F42_fdf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carlosrocha-dev%2F42_fdf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carlosrocha-dev%2F42_fdf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carlosrocha-dev%2F42_fdf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/carlosrocha-dev","download_url":"https://codeload.github.com/carlosrocha-dev/42_fdf/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245458703,"owners_count":20618697,"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":["events","segment-layout","simple-graphic-library"],"created_at":"2024-12-03T06:26:03.278Z","updated_at":"2025-03-25T12:14:34.084Z","avatar_url":"https://github.com/carlosrocha-dev.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\u003cdiv align=\"center\"\u003e\n\n![fdfm](https://user-images.githubusercontent.com/3737837/216211380-33d04ead-4e72-4256-86bb-51b822144c41.png)\n\n# FDF for Macos M1 (baseado em ARM).\n\n\u003c/div\u003e\n\n![Captura de Tela 2023-05-22 às 12 58 23](https://github.com/carlosrocha-dev/42_fdf/assets/3737837/742af0ce-284c-439a-a7f7-6ca9b1637144)\n\n![Captura de Tela 2023-05-22 às 13 02 52](https://github.com/carlosrocha-dev/42_fdf/assets/3737837/85790284-4137-4723-b06e-66a86b4f5fc9)\n\n![Captura de Tela 2023-05-22 às 12 59 53](https://github.com/carlosrocha-dev/42_fdf/assets/3737837/7467ffde-284c-4f1a-8c91-29b83f3ca6a0)\n\n![fdf_infografic](https://github.com/carlosrocha-dev/42_fdf/assets/3737837/3717714e-4c05-4294-bc75-d8e96c56da75)\n\n## Dependences\n\n- X11 e suas bibliotecas, incluindo X11/keysym.h,\n- Rosetta 2\n    oftwareupdate --install-rosetta\n- Quartz:\n\n- Homebrew para ARM64 (Apple Silicon), caso ainda não o tenha instalado:\n\n- Para encerrar corretamente uma conexão com o X11 e destruir a janela, você pode usar as funções mlx_destroy_window e mlx_loop_end\n\n# FDF for Macos M1 (baseado em ARM)\n\n## Description\n\nThis project is about representing a landscape as a 3D object\nin which all surfaces are outlined in lines.\n\n## Dependencies\n\nThis project depends on the following libraries:\n\n- Standard C Library: The standard library for the C programming language providing basic functions like memory allocation, string operations, file input/output, etc.\n\n- libft: A custom library likely containing helper functions and utilities used throughout the project.\n\n- MiniLibX: A simple graphics library allowing window and graphics manipulation in a Unix (X11) software environment. It is used to create the graphical interface of the project.\n\n- X11 Library: The standard library for creating graphical interfaces in Unix systems. It is used in conjunction with MiniLibX.\n\n- Xext Library: An extension of the X11 library providing additional functions.\n\n- OpenGL Library: A graphics library used for rendering 2D and 3D graphics. It is used in conjunction with MiniLibX to render the project's graphics.\n\n- AppKit Library: A macOS-specific library providing a range of functions for creating graphical interfaces. It is used in conjunction with MiniLibX when the project is compiled on a macOS system.\n\n- Math Library (lm): A library providing basic mathematical functions.\n\n## Installation\n\n### Clone the repository\n\nFirst, you'll need to clone the repository. You can do this by running the following command in your terminal:\n\n```bash \u003e git clone git@github.com:carlosrocha-dev/42_fdf.git```\nMake sure to replace yourusername and yourrepository with your actual GitHub username and the name of your repository.\n\nNavigate to the project directory\n\nOnce you've cloned the repository, navigate to the project directory by running:\n\n```bash \u003e cd 42_fdf```\n\nCompile the project\n\nYou can compile the project by running the make command in the project directory:\n\n```bash \u003e make```\nThis will create an executable named *fdf*.\n\nIf you want to compile the bonus part of the project, you can run:\n\n```bash \u003e make bonus```\nThis will create an executable named *fdf_bonus*.\n\nUsage\nTo run the program, you can use the following command:\n\n```bash \u003e ./fdf test_maps/\u003cfile_name.fdf\u003e```\nReplace \u003cfile_name.fdf\u003e with the name of the file you want to use.\n\nIf you compiled the bonus part of the project, you can run it with:\n\n```bash \u003e ./fdf_bonus test_maps/\u003cfile_name.fdf\u003e```\nAgain, replace \u003cfile_name.fdf\u003e with the name of the file you want to use.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcarlosrocha-dev%2F42_fdf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcarlosrocha-dev%2F42_fdf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcarlosrocha-dev%2F42_fdf/lists"}