Skip to content

ahokcool/fdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


ahokcool
An overview of all my projects can be found here: ahokcool

42
This project was created as part of my studies at: 42 Lisboa


Logo

fdf

The idea of the fdf project, French "fil de fer" for "wireframe model", is to visualise wireframe models. This is done by reading a map with 3-D coordinates from a file and storing it in a linked list. These 3D coordinates are then transformed into 2D coordinates according to the user's preferences and displayed in a window.


💡 Lessons learned

Installation

$ git clone --recurse-submodules https://github.com/ahokcool/fdf.git    # Clone
$ cd fdf                                                                # Change directory
$ make                                                                  # Compile
$ ./fdf <map_file.fdf>                                                  # Open a map from a file
$ ./fdf <a string>                                                      # Create a map from a string

To use the prorgram you can either load a map...

./fdf ./maps/nice_maps/t2.fdf

t2.png

... or create a map...

./fdf astein

astein.png


💡 note: following symbols have a map in ./maps/letters/:

./fdf 'abc...xyz' abc.png

./fdf 'ABC...XYZ' ABC.png

./fdf '01...89' 012.png

./fdf '?! _-.' chars.png

some of the maps in ./maps/nice_maps/ are from @duarte3333 thx!

List of literature

🔗creating maps
🔗minilibx
🔗minilibx images
🔗drawing lines
🔗rotating


🔝 back to top 🔝

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published