Tuesday, August 30, 2011

Fruit Distance Two Points

The distance between point A (x1, y1) and point B (x2, y2)
AB = Ö ((x1-x2) ² + (y1-y2) ²)
Coordinates Midpoint
Coordinates of the midpoint between point A (x1, y2) and point B (x2, y2)
XT = (x1 + x2) / 2
YT = (y1 + y2) / 2
Distance point to line
Distance of point A (x1, y1) to the line
g: ax + by + c = 0
d = | (ax1 + by1 + c) / Ö (a ² + b ²) |

Note:

To determine the distance between two parallel lines, first specify any point that lies on one line, then declare this point distances to the other line.

Or use the formula to be:

The distance of two parallel lines ax + by + c1 = 0 and ax + by + c2 = 0 is

d = | (c1-c2) / Ö (a ² + b ²) |

usage: (....)

Shaky Flash Menu with ActionScript 3

This tutorial will teach you how to create a cool looking shaky menu with ActionScript 3. All the animation is done with ActionScript, so no timeline animation is needed. Check out the end result!

Get TweenMax

We will use TweenMax for the animation of the menu items. Therefore, download TweenMax for AS3. TweenMax will save us a lot of time from coding the animation ourselves! Save the “gs” folder to the same location where your .fla file will be located.

New Document

Start your Flash and create a new Flash ActionScript 3 document.

Flash Document Properties

Set the following document properties.
width: 400px
height: 100px
background color: black
frame rate: 30


Menu Rectangle Shape (...)

Export Import Image in Corel Draw

Graphic science tutorial to learn more import export in corel coreldraw image object with a quick & easy for beginners who start learning coreldraw graphics. You need to know that there are a lot of image formats can be exported to CorelDraw, it could use a bitmap format and can also use a vector file format. So how? Please follow the following article.

import Images

Import a picture, in CorelDraw is used to retrieve or insert images into documents coreldraw worksheet. Before you import a picture you are obliged to create a new document or no document open worksheets. How to import pictures is to click on menu File> Import or can also use the keyboard shortcut [CTRL + I]. Can also hold the slide by clicking the file from explorer into CorelDraw.


  

Then it will open import dialog box, select the location where a picture or object to be inserted into the worksheet CorelDraw. If you have found click on the file and press OK.

Notes: (....)

Template by : wanto arwan-programing.blogspot.com