Giter VIP home page Giter VIP logo

thepaintapp's Introduction

README FILE

THE ROTATING TEAPOT PAINT APPLICATION (version 1.0), by 
Karthik.S 
Karthik.S.Bhat 
Nitin Jamadagni 
16/04/2014

CONTENTS
I.	HOW TO INSTALL THE APPLICATION
II.	MINIMUM SYSTEM(LIBRARY) REQUIREMENTS
III.	INSTRUCTIONS TO USE THE SOFTWARE


I. HOW TO INSTALL THE APPLICATION 


LINUX/UNIX(including Macintosh)
1. Open the folder containing the application.
2. Launch the terminal and navigate to the curent folder/directory.
3. Execute the MakeFile through the command "sh Makefile".
4. Launch the application through the command "./a.out".


II. MINIMUM SYSTEM REQUIREMENTS 


Linux/Unix
¥ Ubuntu 10.04,12.04 LTS or higher (other flavors of Linux also) 
¥ Pentium 366 MHz or higher 
¥ Minimum 64 MB of RAM
¥ Screen resolution 800x600 or higher
¥ A gcc/g++ compiler
¥ OpenGL Graphics Library packages like GLUT,GLU and other default packages


III. INSTRUCTIONS TO USE THE SOFTWARE

This application is an attempt to implement the features available in paint applications available on various operating systems.
Currently the following features have been implemented. Instructions to use each is also mentioned alongwith it.

1) DRAW feature
   The Rotating Teapot paint application allows the user to draw the basic primitives with ease, by integrating it completely with mouse functionalities. In order to draw a figure, right click anywhere on the screen to get a Menu. Go to the Sub-Menu "DRAW" and click on the required primitive.

    1.1) For LINE, left click at any 2 points on the screen.These are the 2 end vertices of the required line. 
    1.2) For CIRCLE, click any where on the screen to select the centre ,and then click another point to mark its radius.
    1.3) For TRIANGLE. click at any 3 points on the screen to draw a triangle between the 3 selected points


2) SAVE feature
   This paint application also allows the user to save his precious progress/work at any point of time.To save, again right click anywhere on the screen and click on the SAVE option.Please wait while your progress/data is saved to the disk.

3) COLOURS feature
   In order to make your work more colourful, the application allows you to change the global colour for any drawing at any point of time.When not in any drawing option, click on any of the colours to set it as the global colour for drawing the upcoming figures.

4) OPEN feature
   This feature allows you to open/load the last saved version of your work.Right click on the screen and click the OPEN option to do so.

5) TRANSFORMERS feature
   The application allows you to transform the primitives that you have drawn(and save them). In the current version, 2 primary transforms namely TRANSLATION and LINE/POLYGON CLIPPING have been implemented.

   5.1) For TRANSLATION :
	Right click on the screen,navigate to the Transformers option and click on the Translation option.The application allows you translate only circles and triangles(as line selection posed lot of issues and threats to remaining code).
	Select the primitive(circle/triangle) that you wish to translate, and click where on the screen you would like to translate it to.
	Save your work after translations to override their previous locations.

   5.2) For LINE/POLYGON CLIPPING :  
	The application allows you to clip any set of lines or traingle by specifying a clipping window of your choice.For the same,right click on the screen and navigate to the Transformers option and click on the Line Clipping option.
	Specify the Top left corner of your clipping window by your first click and the Bottom right corner with your second click.
	All the lines(including sides of triangles), enclosed within this box are clipped accordingly. Note : This change is not permanent,and cannot be saved.


thepaintapp's People

Contributors

karthiksenthil avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.