- Create snow with N key, tree with T key, red flower with F key, blue flower with G key and clean with C key.
- Increassing three functions (right, left, backward).
- have Linux
- install OpenGL with the comands :
- sudo apt install build-essential ubuntu-restricted-extras cimg-dev freeglut3-dev libgles2-mesa-dev
- sudo apt install g++
- sudo apt-get install freeglut3-dev
- download the files.zip
- Enter the container folder, right click, open terminal.
- compile with the comand:
- g++ main.cpp Turtle.cpp PartiFlyweight.cpp ArbolBuilder.cpp FlorFactoryM.cpp Abstract.cpp -o gl -lGL -lGLU -lglut
- Open this file:
- ./gl
- Walther Mauricio Medina Pauca