Coder Social home page Coder Social logo

html5wow's People

Watchers

 avatar

html5wow's Issues

auto-animate chrome particle loading screen

Right now, user has to click the logo for it to begin animating.
Make this automatic.

It also puts itself back together. Make this redo the animation after a certain 
amount of time.

Original issue reported on code.google.com by [email protected] on 11 Apr 2011 at 9:19

responseType = "arraybuffer" example has issues.

that sample code on this slide is wrong

http://www.htmlfivewow.com/slide15


This ---


xhr.onload = function(e) {
  if (this.status == 200) {

    var uInt8Array = new Uint8Array(this.response); // Note: not xhr.responseText

    for (var i = 0, len = uInt8Array.length; i < len; ++i) {
      uInt8Array[i] = this.response[i];
    }

    var byte3 = uInt8Array[4]; // byte at offset 4
  }
};


should be this



xhr.onload = function(e) {
  if (this.status == 200) {

    var uInt8Array = new Uint8Array(this.response); // Note: not xhr.responseText
    var byte3 = uInt8Array[4]; // byte at offset 4
  }
};

1) There is no need to copy the data. Uint8Array is a "view" on to the 
arraybuffer
2) That code will FAIL. you can't index an ArrayBuffer 

Original issue reported on code.google.com by [email protected] on 15 May 2011 at 9:34

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.