Skip to content

anaiel/fdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published