Be a Supporter!

Intervals

  • 171 Views
  • 1 Reply
New Topic Respond to this Topic
mikeMarek
mikeMarek
  • Member since: Jan. 24, 2008
  • Offline.
Forum Stats
Member
Level 03
Blank Slate
Intervals 2013-02-03 16:28:54 Reply

I'm developing a sort of DNA-like graphics drawing and I'm trying to use a scale to make objects appear in an out of the screen. Using a cos() or sin() function, returning an interval of <bold>[-1, 1]</bold>, I'm trying to transpose that interval over to one such as <bold>[0.5, 2]</bold>, which I can then set my scaleX and scaleY values of my movieclips accordingly.

Is there any sort of mathematical representation I can use to represent this? Such as incorporating inter minimum and maximum values? Thanks for any help on the matter,
- Mike


BBS Signature
milchreis
milchreis
  • Member since: Jan. 11, 2008
  • Offline.
Forum Stats
Member
Level 26
Programmer
Response to Intervals 2013-02-03 17:15:43 Reply

Try multiplication and addition.