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

  Create program that uses functions and reference parameters

Create program that uses functions and reference parameters, and asks user for the outside temperature.

  Write a program using vectors and iterators

Write a program using vectors and iterators that allows a user to maintain a personal list of DVD titles

  Write the code required to analyse and display the data

Calculate and store the average for each row and column. Determine and store the values for the Average Map.

  Write a webservices application

Write a webservices application that does a simple four function calculator

  Iimplement a client-server of the game

Iimplement a client-server version of the rock-paper-scissors-lizard-Spock game.

  Model-view-controller

Explain Model-View-Controller paradigm

  Design a nested program

How many levels of nesting are there in this design?

  Convert celsius temperatures to fahrenheit temperatures

Write a C++ program that converts Celsius Temperatures to Fahrenheit Temperatures.

  Evaluate and output the value in the given base

Write C program that will input two values from the user that are a Value and a Base with which you will evaluate and output the Value in the given Base.

  Design a base class shape with virtual functions

Design a base class shape with virtual functions

  Implementation of classes

Implementation of classes Chart and BarChart. Class barChart chould display a simple textual representation of the data

  Technical paper: memory management

Technical Paper: Memory Management, The intent of this paper is to provide you with an in depth knowledge of how memory is used in executing, your programs and its critical support for applications.

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