Home Contents

Math

Introduction | Installation | Unlocking | Quick Start | User Interface | Advanced Concepts | Tips | Tutorials | Appendix | Credits

File Formats System Files Sample Designs Glossary Developer's Diary Command Summary Math


 

TileDreams depends upon princples of geometry and trigonometry, algebra, and basic arithmetic.

TileDreams performs the following calculations (among others)

Pixel Unit Conversions

When calculating the composite area of the tiles used in the design by color, the user can provide a whole integer for either the height or width, and TileDreams will convert the results to the user's scale.  By default, this calculation is expressed in pixels.

Angle Unit Conversions

Depending on the context, TileDreams evaluates angles in terms of degrees, radians, or Angle Units. 

In TileDreams, Angle Units are calculated by this formula

Angle Unit = 360o/(base * 2)

ie: in a base 6 tile-set, a step is equal to 360o/(6 * 2), or 30o

Trigonometry

Trigonometry is used extensively within TileDreams, when any of these operations are necessary:

  • rotate the current tile
  • rotate selected tiles
  • define the tiles

Coordinate Geometry

Polygons are expressed as collectins of coordinate points (x,y format), and can be redefined through manipulation of the text-output of the designs.

Line Calculations

TileDreams calculates slope and intercept values to determine whether the user's outline-box intersects with the outline of a tile.

Basic Aithmetic

  • Calculate the center point for purposes of performing rotations of selected tiles
  • Increase or decrease the memory allocated to TileDreams, based on the number of tiles in the design.
  • Keep track of the number of tiles in a design.
  • Determine whether the user's mouse is over a vertex

Planar Geometry

TileDreams will calculate the aggregate surface area by color.

Illustrate basic polygons, and other simple composite constructions.

 

 

Send mail to webmaster@zayantecreek.biz with questions or comments about this web site.
Copyright © 2004 ZayanteCreek Solutions
Last modified: 05/21/04