Browse Source

add interpolation to example spaces

Nikolay Suslov 7 years ago
parent
commit
abe19c6f33
1 changed files with 2 additions and 1 deletions
  1. 2 1
      public/aframe2/index.vwf.yaml

+ 2 - 1
public/aframe2/index.vwf.yaml

@@ -78,12 +78,13 @@ children:
           position: [2, -0.75, 0]
           color: "#2167a5"
           depth: 1
+          interpolation: "50ms"
         methods:
           run:
             body: |
               var time = vwf.now;
               this.position = [this.position[0], this.position[1], Math.sin(time)]
-              this.future( 0.05 ).run();  // schedule the next step
+              this.future( 0.01 ).run();  // schedule the next step
   sky:
     extends: http://vwf.example.com/aframe/asky.vwf
     properties: