I need my function to look like [url=http://f.anyhub.net/23-R]this[/url]
I need it to infinitely rise the closer it gets to 1 and sloped down to 0 (fast) when it's around 0
I need to know how I can control the two main curves, how high they are and how sharp they curve how early they curve and all that jazz...
Maybe a piece wise function is in need :/
I need it for determining an elements luminosity in my game where elements are "made up" by the system.
The goal is to make most elements hover within a certain range but SOMETIMES you'll have a really bright mofo-element or a really not so bright element.
I have this page bookmarked because it's PERFECT. More tutorials should be this easy.
[url]http://paulbourke.net/miscellaneous/interpolation/[/url]
[editline]9th March 2011[/editline]
Although it looks like you just want the tan() function :x
you fuckin' rock...
how did you find out about this?
edit:
that was to florian
edit
oooh.... one problem. it has a specified point that it will end.
at 1 I need to calculator to show "undfined"
at 0 at ineed the caclulator to show "0"
i think i'll just manipulate tan(x)
but this is helpful though. thank you.
[QUOTE=garry;28510494]I have this page bookmarked because it's PERFECT. More tutorials should be this easy.
[url]http://paulbourke.net/miscellaneous/interpolation/[/url]
[editline]9th March 2011[/editline]
Although it looks like you just want the tan() function :x[/QUOTE]
Wikipedia should learn how to write like them.
[QUOTE=Haley;28510523]you fuckin' rock...
how did you find out about this?
edit:
that was to florian
edit
oooh.... one problem. it has a specified point that it will end.
at 1 I need to calculator to show "undfined"
at 0 at ineed the caclulator to show "0"
i think i'll just manipulate tan(x)
but this is helpful though. thank you.[/QUOTE]
tan(2x-0.5)
the 2x shrinks the graph by a factor of 2 (moving it from between -1 and 1 to -0.5 and 0.5) and the -0.5 shifts it from -0.5 to 0.5 to between 0 and 1. Someone correct me if im wrong
[QUOTE=Icedshot;28511416]tan(2x-0.5)
the 2x shrinks the graph by a factor of 2 (moving it from between -1 and 1 to -0.5 and 0.5) and the -0.5 shifts it from -0.5 to 0.5 to between 0 and 1. Someone correct me if im wrong[/QUOTE]
i think half o pi is need for the shift
so yeah. that's what I'm going to do, just manipulate the tan(x)
Sorry, you need to Log In to post a reply to this thread.