The purpose of using a pseudocode is to make it easier for people to comprehend than if they were reading conventional programming language code.
Pseudocode description:
The DTXPhoenix team designed the pseudocode from the pictures below. Moreover, they describe the sketches for the algorithm which was created for the construction of floors of the group's 3D model.
Equation used for the calculation of the square footage per floor:
Sq ft/floor = total sqft/number of floors
As shown below, the group constructed a diagram for a 2,000 sqft house with 2 floors. To add, the calculations showed the equivalence of 1,000 sqft/floor.
Firstly, a center square was created. Secondly, it was extended in the direction of a shorter dimension. Then, each extension increased their exterior walls by 2 sides. On the other side, each extension which does not has a change in their total dimension decreases their exterior walls by 2 sides. After, a diagonally cutting existing extrusion reduced the exterior walls by 1 side. Finally, the students scaled the pseudocode into square footage as required.
Picture 1.
Rough sketches from different rooms:
There was a creation of a rough draft of 200 sqft rooms for a seed level generation similar to Minecraft, which enabled a set of rules given input and based on the provided values. Additionally, the rules were executed as shown in the second picture.
Picture 2:
3D model algorithm for creating floors:
Each input should move right, left, up, or down. Moreover, a specific number of blocks was outputted in four diverse directions based on the input given.
Picture 3.
Screenshot of Nodes:
Picture 4.
External vision of the room:
External vision of the room:
Final External vision of the room: