Skip to content
/ fdf Public

A program that creates a 3D version of a 2D map.

Notifications You must be signed in to change notification settings

jfortin42/fdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fdf

fdf is a program developped for my learning course at 42 school to view 2D topological maps in a 3D space. Several options are available (see Shortcuts section for more info)

  • Move the 3D map
  • Zoom in and zoom out
  • Increase or decrease the depth factor
  • Change color

Install & launch

git clone https://github.com/jfortin42/fdf ~/fdf
cd ~/fdf && make && ./fdf

Launch the program with a parameter which is the name of the map you would like to open.
You have example maps in the test_maps folder. The map must be valid.

Example : ⇣

./fdf test_maps/42.fdf

Shortcuts

Description  Key(s) 
Close the program  esc 
Move the map to the left/right  ◄   ► 
Move the map up/down  ▲   ▼ 
Zoom in/zoom out  +   - 
Increase/decrease the depth factor  *   / 
Change to next/previous colors  page up   page down 
Reset the map  0 
## Contact & contribute If you want to contact me, or fix/improve fdf, feel free to send me an e-mail at **[email protected]**

About

A program that creates a 3D version of a 2D map.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published