now working for art of presence

This commit is contained in:
Peter Cottle 2012-08-13 12:54:02 -07:00
parent a817cec5f5
commit c4cc6cd57e
3 changed files with 37 additions and 4 deletions

View file

@ -114,7 +114,7 @@ function Breather(closure, baseline, delta, period, wait) {
var period_in_seconds = period || time.breathePeriod;
this.period = 2 * Math.PI * 1000 * period_in_seconds;
this.interpolationFunction = TWEEN.Easing.Wave.Triangle;
this.interpolationFunction = TWEEN.Easing.Cubic.EaseInOut;
if (wait) {
var _this = this;

19
src/style/main.css Normal file
View file

@ -0,0 +1,19 @@
html,body {
overflow:hidden;
background: -moz-radial-gradient(center, ellipse cover, #0066cc 0%, #000000 90%);
background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%,#0066cc), color-stop(90%,#000000));
background: -webkit-radial-gradient(center, ellipse cover, #0066cc 0%,#000 90%);
background: -o-radial-gradient(center, ellipse cover, #0066cc 0%,#000000 90%);
background: -ms-radial-gradient(center, ellipse cover, #0066cc 0%,#000000 90%);
background: radial-gradient(center, ellipse cover, #0066cc 0%,#000000 90%);
-webkit-perspective:600px;
font-family: 'Lato', Times, 'Times New Roman', serif;
font-size: 36px;
font-weight: 200;
letter-spacing: -0.02em;
color: #eee;
}