anaiel / fdf

42 Project FdF

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FdF

This project was completed in February 2019 as part of the 42 school cursus. The aim is to generate a projection grid using the minilibx visual library from map files (grids of altitudes). The complete instruction can be found in the resources folder.

🍌 This project was completed with Xeska

path to FdF

Simple graphic library, segment layout, events, 3D to 2D projection

Solving the problem

This project was a way to familiarize ourselves with a graphic library, the minilibx in this case.

As an added bonus, this project offers:

  • different color schemes (one generated from the map, a static rainbow, a changing rainbow, and one generated from the altitude given on the map to emulate a terrain map)
  • zooming
  • moving the grid
  • rotating the map

Getting Started

Clone the repository. The project uses the minilibx library which can be found in the resources/ folder. To install the minilibx library, follow the instructions here. Compile the project using make, then you can try with any of the maps in the resources/maps folder.

Examples

./fdf resources/42.fdf
./fdf resources/julia.fdf

Authors

🍌 Team Unbananable:

About

42 Project FdF


Languages

Language:C 86.4%Language:Roff 6.8%Language:Objective-C 5.5%Language:Makefile 1.2%Language:Perl 0.1%