Skip to content

Commit b2f13be

Browse files
author
Michael Bartlett
committed
Addendum to Pulse()
1 parent 36d58e3 commit b2f13be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code math.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ Which may make a little more sense as to why it works, but here's a graph to dri
176176

177177
<center>![sinpyra](http://i.imgur.com/TMYDQRI.png)</center>
178178

179-
This is the linear approach to the dimming affect, where as the sine-wave is an exponential approach.
179+
This is the linear approach to the dimming affect, where as the sine-wave is an exponential approach. There isn't a noticeable difference in computational effort either way, the sine method was used simply because sine-waves are typically more familiar than absolute-value cusps. I also found the smooth change in brightness from the sine wave to be more aesthetically pleasing than the linear dimming, but as always feel free to try either method and see what works best for you.
180180

181181
#brightness check
182182

0 commit comments

Comments
 (0)