Create a square using the tangram pieces

Assignment Help C/C++ Programming
Reference no: EM132190509

Introduction

A Tangram is a geometrical puzzle consisting of seven flat shapes cut from a square, which can be arranged to form various other shapes. The seven pieces are:

- 2 large right triangles
- 1 medium right triangle
- 2 small right triangles
- 1 square
- 1 parallelogram

The objective of the puzzle is to form a specific shape (given only an outline) using all seven pieces, which may not overlap. The seven flat shapes are usually coloured into seven different colours, a plain example is
shown in the figure below:

1324_figure.jpg

Figure 1: Square

There are no set colours for a Tangram, i.e. they can be any colour of your choice. There are thousands of different shapes that can be formed using the Tangram. A example is shown below:

2301_figure1.jpg

Figure 2: House

You may find more examples by searching Tangram online. Alternatively, should you be interested, you are most welcome to design your own.

Requirements

In this coursework, you are required to do the following:

A). Write a computer programme using OpenGL to:

1). create a square using the Tangram pieces as shown in Fig.1 and colour the seven pieces of the geometric shapes (please choose a different colour for each piece) of your choice;

2). create a shape that you would like to form using the Tangram such as the one given in Fig.2 (you can search/design your own shape, but please do not use another square or a trivial variation of a square! The new shape created will also need to require movements of all seven pieces of the Tangram from a square, also see requirement 3) below, and a flip over of the parallelogram.);

3). create an animation of the seven geometric shapes' movement from the original square created in requirement 1). to the shape of your choice for requirement 2). All seven Tangram pieces need to be displaced. The movements have to be smooth and clear; and

4). make sure that the code are well commented.

B). Write a report (max four A4 pages ) to:

5). explain your design and implementation process and any challenges you came across, as well as how they were overcome at the end; and

6). include a thoughtful discussion of limitations of your own work, and provide some ideas for further improvement.

B). Write a report (max four A4 pages ) to:

5). explain your design and implementation process and any challenges you came across, as well as
how they were overcome at the end; and

6). include a thoughtful discussion of limitations of your own work, and provide some ideas for further improvement.

C). Demonstrate creativity and attention to details by

7). including more advanced graphic features such as lighting, texture and viewing, etc,

8). and being creative in making the animation appealing.

Verified Expert

In this assignment, I have perform different design as per client requirement and I have used opengl vc++ code.In this assignment I have create flowchart and use different animation and transformation of the design.In this assignment I have create the seven shapes and apply the animation on the shapes and color all the shapes.

Reference no: EM132190509

Questions Cloud

Absolute deviation for both bob and sherry methods : Complete the table's columns and then calculate the mean absolute deviation for both Bob's and Sherry's methods.
Write a substantive response to the material : By the end of the week, select two of your classmates' postings and write a substantive response to the material they have presented.
Explain the data models for each technology : Research Web SQL Database, Indexed Database, and File Access, and write a 3-page paper explaining how each can be used. In your paper, provide examples of data.
Did p and g deliver on its promise to cut staffing : Was the new P & G able to confront Walmart and hold the line on merchandise prices? Did P & G deliver on the 5% sales growth?
Create a square using the tangram pieces : Explain your design and implementation process and any challenges you came across, as well as how they were overcome at the end
Create an information flow diagram : The security consulting firm that you work for has been awarded a contract to implement a new IT Security Infrastructure to secure the Information Technology.
Prepare a simple pro forma balance sheet for the first years : 3. Prepare an outline for a "pitch," i.e., a short 20-30 minute business plan presentation that will be made to lenders or investors.
Essay - A Narrow Fellow in the Grass : Choose any topic as given, and need to follow the requirement for writing the essay. The paper should be an analytical comparison of two or more of the stories
Disputes to arbitration instead of to litigation in courts : What are advantages of submitting contract disputes to arbitration instead of to litigation in courts?

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Write table_avg function to find the average of an array.

Write table_print function to print out a table of size. Print output on one line.table_print(array, size);

  Determines the largest value

Write a program Largest that reads three integers from the user and determines the largest value - Write a program InOrder that reads three integers from the user and prints the three integers in sorted order.

  Generate the initial deck of cards.

It may also enable the top card in the waste pile to be placed The adjustments are made until nothing can be moved. Play continues until all of the original cards in the deck are in play and all adjustments are made

  Write cpp code to open a document with the name hello-txt

Write C++ code to open a document with the name Hello.txt, place the message "Hello, World!" in the document, and exit the document. Re open the file you closed, and read the message into a string variable.

  Returns the memory address of the first element

Assume that there's a function double* getMemoryForDouble (int n) that returns the memory address of the first element of a contiguous block of memory available for storing n doubles.

  What must total asset turnover be

What must total asset turnover be? (Do not round intermediate calculations and round your final answer to 2 decimal places, e.g., 32.16.)

  Research paper on c++ loop statements

Create codes for the following problem/s. Compile, test run, and edit them if necessary. Include your original .cpp and related file(s) (if any) in a single folder.

  Create a dynamic array of int that can store twenty numbers

Create a dynamic array of int that can store 20 numbers. Write a program using XOR with secret character of `&' to decipher.

  Write a c++ program that will manipulate an array

Write a C++ program that will manipulate an array. It should handle up to 100 integer numbers. Write a separate function for each of the requirements mentioned below. Label the output appropriately.

  Traveling towards the other at an average speed

Two cities are 3000 miles apart. A plane leaves one of them, traveling towards the other at an average speed of 360 miles per hour. At the same time a plane leaves the other, traveling towards the first, at an average speed of 390 miles per hour.

  Represent an instruction supported by simpletron

Implementation contains a Simpletron class and several supporting Instruction classes

  Implement functions to manipulate lists

Computer Science 332 - Fall 2017 - create the user-de?ned type LIST, implement functions to manipulate lists, and compile the code to be used as a library

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd