CodePen

HTML

            
              
            
          
!

CSS

            
              
            
          
!

JavaScript

            
              point = {
  x: 0,
  y: 0,
  z: 0,

  moveBy: function(i, j, k) {this.x+=i; this.y+=j; this.z+=k;},
  moveTo: function(i, j, k) {this.x=i; this.y=j; this.z=k;}
}
            
          
!
999px
Loading ..................