JSFiddle

  • Wind Turbines in CSS #11 is the latest revision

    Just messing with CSS

    // Get the current speed of wind in Tokyo
    
    var defaultSpeed = 3;
    var speed = defaultSpeed;
    var promise;
    // var APIKey = '5831532a2d7e5ed8053f6c11d0923535';
    // var ...
  • Object Iterator

    A simple array iterator taken from Mozilla site, could be useful

    // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Iterators_and_Generators
    function makeIterator(array){
        var nextIndex = 0;
        
        return {
           next: function(){
               return ...
  • 1
  • 2