Skip to content

Instantly share code, notes, and snippets.

@steveostudios
Last active August 29, 2015 14:17
Show Gist options
  • Select an option

  • Save steveostudios/f666d0a12b86b0208002 to your computer and use it in GitHub Desktop.

Select an option

Save steveostudios/f666d0a12b86b0208002 to your computer and use it in GitHub Desktop.

Revisions

  1. steveostudios revised this gist Mar 24, 2015. 1 changed file with 6 additions and 0 deletions.
    6 changes: 6 additions & 0 deletions swinging_text
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,9 @@
    /*
    * Swinging Text
    * apply on parameters that you want to swing (i.e. x-rotation)
    * credit: Dan Ebberts
    */

    veloc = 7;
    amplitude = 90
    decay = .7;
  2. steveostudios renamed this gist Mar 24, 2015. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  3. steveostudios revised this gist Mar 24, 2015. No changes.
  4. steveostudios created this gist Mar 24, 2015.
    5 changes: 5 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    veloc = 7;
    amplitude = 90
    decay = .7;
    t = time - inPoint;
    amplitude*Math.cos(veloc*t)/Math.exp(decay*t)