It is an isometric projection of a grid that rotates using arrow keys or WASD keys.
Plot a 3D grid
Report Bug
·
Request Feature
It is an isometric projection of a grid that rotates using arrow keys or WASD keys,
This project was created using SDL2 and C programming Language).
1) Clone this repository
$ git clone https://github.com/fredhii/Raise_the_terrain
1.1) Install SDL2 (Skip this step if you already have it)
$ chmod 755 0_install_SDL2.sh
$ sudo ./0_install_SDL2.sh
2) Compile the program
$ gcc -Wall -Werror -Wextra -pedantic *.c -lm $(sdl2-config --cflags --libs) -o raise_the_terrain
3) Run the program
$ ./raise_the_terrain <file>
Keyboard | Description |
---|---|
ESC | Close program |
W or Up Arrow | Rotates grid upward |
A or Left Arrow | Rotates grid clockwise |
S or Down Arrow | Rotates grid downward |
D or Right Arrow | Rotates grid counter-clockwise |
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.