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

  Wap that takes its input from a text file of strings

Write a program that takes its input from a text file of strings representing numbers of type double and outputs the average of the numbers in the file.

  Need a program that has the user enter a string

Need a program that has the user enter a string. The program will test to see if its a exact palindrome like "civic" or "level". then it should test if its an inexact palindrome like "a nut for a jar of tuna".

  Dynamically allocate an array of menuitems

Dynamically allocate an array of menuItems based on the number of items input. Dynamically allocate a parallel array of integers that will store the quantity of that item in a customer order.

  Write program that reads numbers from cin and then sums them

Write a program that reads numbers from cin and then sums them, stopping when 0 has been entered. Construct three versions of this program, using the while ,do - while , and for loops.

  Discuss the differences concerning how a program would acces

Discuss the differences concerning how a program would access the members of objects that have been declared as an array of objects

  Write a program to perform a topological sort on a graph

Write a program to perform a topological sort on a graph in the language of your choice from the following list C, C++. Run your program on a sample of inputs.

  Write a program to calculate cars mileage

If you are using VisualStudio 2005, you should include time.h. The call to srand should use the time rather than a number entered by the user and looks like this: srand( static_cast(time( NULL )) ).

  Write c++ program that reads in the average monthly rainfall

Write a C++ program that reads in the average monthly rainfall for a city for each month of the year and then reads in the actual monthly rainfall for each of the previous 12 months

  How to design a c program to serve as a shell interface

In this project, you will learn how to design a C program to serve as a shell interface that accepts user commands and then executes each command in a separate process

  Compare the running time of two versions of the insertion

implement Uniform Random Number generator and Generate 1000 Random number between 0 an 10000. Try to use insertion sort to sort them. Compare the running time of two versions of the insertion sort.

  Take the code you wrote for the ford-fulkerson algorithm

Take the code you wrote for the Ford-Fulkerson algorithm for the maximum flow on a directed graph with capacities, and implement scaling on top of this code. You write a function

  Demonstrate your programming abilities in cpp

Demonstrate your programming abilities in C++ by adding a given list of the first 26 very large integers (given in this specification sheet).

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