Browse Source

README-en.md edited online with Bitbucket

Jose R Ortiz Ubarri 8 years ago
parent
commit
fad7318e53
1 changed files with 9 additions and 7 deletions
  1. 9
    7
      README-en.md

+ 9
- 7
README-en.md View File

174
 ---
174
 ---
175
 
175
 
176
 
176
 
177
-##Laboratory Session
177
+## Laboratory Session
178
 
178
 
179
 In today's laboratory experience you will practice the use of nested loops to create different tessellations.
179
 In today's laboratory experience you will practice the use of nested loops to create different tessellations.
180
 
180
 
181
-###Exercise 1: Study the loop that produces tessellations
181
+### Exercise 1 - Study the loop that produces tessellations
182
 
182
 
183
-####Instructions
183
+#### Instructions
184
 
184
 
185
-1. Load the Qt project called `Tessellations` by double-clicking on the `Tessellations.pro` file in the `Documents/eip/Repetitions-Tessellations` folder of your computer. Alternatively, you may clone the git repository `http://bitbucket.org/eip-uprrp/repetitions-tessellations` to download the `Repetitions-Tessellations` folder to your computer.
185
+1. Load the project  `Tessellations` into `QtCreator`. There are two ways to do this:
186
 
186
 
187
-2. The `Tessellations.pro` project contains the `Tessellations` and `DrawingWindow` classes and the `foo` function. Configure the project and run the program. You should see a window similar to the one in Figure 5.
187
+     * Using the virtual machine: Double click the file `Tessellations.pro` located in the folder `/home/eip/labs/repetitions-tessellations` of your virtual machine.
188
+     * Downloading the project’s folder from `Bitbucket`: Use a terminal and write the command `git clone http:/bitbucket.org/eip-uprrp/repetitions-tessellations` to download the folder `repetitions-tessellations` from `Bitbucket`. Double click the file `Tessellations.pro` located in the folder that you downloaded to your computer.
188
 
189
 
189
-This figure is created with the `foo` function shown in Figure 4 and explained in Example 1. The `foo` function is invoked from `main()`. In this laboratory experience you will only be making changes to the `main()` function.
190
+2. The `Tessellations.pro` project contains the `Tessellations` and `DrawingWindow` classes and the `foo` function. Configure the project and run the program. You should see a window similar to the one in Figure 5.
190
 
191
 
191
-Study the `foo` function once again and notice the creation of the objects from the `Tessellations` class, the use of the `setRotation` method, and the `move` method to set the tessellation in the desired position. Notice how the instructions in the `for` loop in the function use the loop's counter to determine the square's position and how the rotation's value is incremented. Also notice that you will need to use the `addTessellation` method to add the tessellation to the `w` window.
192
+   This figure is created with the `foo` function shown in Figure 4 and explained in Example 1. The `foo` function is invoked from `main()`. In this laboratory experience you will only be making changes to the `main()` function.
192
 
193
 
194
+   Study the `foo` function once again and notice the creation of the objects from the `Tessellations` class, the use of the `setRotation` method, and the `move` method to set the tessellation in the desired position. Notice how the instructions in the `for` loop in the function use the loop's counter to determine the square's position and how the rotation's value is incremented. Also notice that you will need to use the `addTessellation` method to add the tessellation to the `w` window.
193
 
195
 
194
 
196
 
195
 ###Exercise 2: Create the `herringbone` function and tessellation
197
 ###Exercise 2: Create the `herringbone` function and tessellation