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

  A hierarchical jpeg encode decoder for greyscale images

This project is to develop a program that implements a hierarchical JPEG encoder/decoder for greyscale images.

  Write a function called reversit that reverses a string

Write a function called reversit() that reverses a string (an array of char ). Use a for loop that swaps the first and last characters, then the second and next to lastcharacters and so on. The string should be passed to reversit() as an argument. wr..

  Calculate the gross pay of a set of employees

Write a C program that will calculate the gross pay of a set of employees - Calculate and print the total sum of Wage, Hours, Overtime, and Gross values

  Give a pseudo code for the script logic.

Update the given script for above requirements, and also give a pseudo code for the script logic.

  Opening file and providing pointer for that file

When a C program is started, O.S environment is responsible for opening file and providing pointer for that file?

  The use of one learning pattern to another

1. A person who can feel themselves shifting from the use of one Learning Pattern to another is a(n)        Dynamic learner.        Bridge learner.

  Write a program that will store 10 integers into an array

Write a program that will store 10 integers into an array. Only accept integers between -100 and 100. Display those integers. You must then square those integers by CALLING A FUNCTION to square each individual integer. That function must be called, s..

  A string of characters has balanced parentheses

A string of characters has balanced parentheses if each right parenthesis occurring in a string is matched with a preceding left parenthesis

  Inventory items stored in Sudbury

Give the details of all suppliers in the Sault Ste Marie, list all inventory items with a quantity less than 100 units and list all the inventory items stored in Sudbury

  Read ascii strings from standard input

Your program must read 8-bit ASCII strings from standard input -- for instance, using the cin object in C++, or stdin in C. You must consume all input from standard input

  Calculate the area of the circle

Write an application that prompts the user for the radius of a circle and uses a method called circleArea to calculate the area of the circle.

  Determining the total number of employees

Write a computer program to print a report with employee name and total salary for those employees whose total salary is more than 10,000. Total Salary = BASIC + HRA. At the end, the program should also print the total number of employees whose to..

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