Skip to content

juliantoyeo/42_FDF

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

42_FDF

This project is about basic computer graphic drawing with c.
The library used for the graphic is provided by my school which is base from X.11

Input Data

The program will read the file with the content from the following format:

input_data

Output

Other example

The program with display a graphic base on the number provided (0 means flat, higher number will elevate the field)

More project information could be found in the folder

project_pdf/fdf.en.pdf(https://github.com/juliantoyeo/42_FDF/blob/master/project_pdf/fdf.en.pdf)

More maps example could be found in the folder maps

(https://github.com/juliantoyeo/42_FDF/tree/master/maps)

Usage

./fdf maps/42.fdf

Control

Use mouse to drag and move the position of the graphic.

Use mouse scroll to zoom in and out the graphic.

Use keyboard arrow up(^) and down(v) to control the elevation of the field.

Use keyboard arrow left(<) and right(>) to control the viewing angle.

Press 'c' to reset the screen.

Press 'ESC' to quit and close the screen.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published