Git Product home page Git Product logo

weight-tracker's Introduction

Weight Tracker - A 60fps Mobile Web App

image

This is a web app that I built to see if it was actually possible to create an application that runs at 60fps on modern smartphones. For the most part it was successful. If you're interested, there's a blog post you can read.

Note: the source code is not heavily commented as yet. As I have time I will try to put some time into doing that. Hopefully it will be readable as-is, but I apologise if you run into readability issues!

If you're interested in dissecting the app start with /src/misc/bootstrap.js and /src/app.js. The <canvas> based components are found in /src/view/ticker.js and /src/view/dial.js.

The dial component, since it is used for both weight and height entry has a wrapper component that configures it found at /src/view/dialentry.js, and the weightentry.js and heightentry.js then use that. Overly engineered, I know, it's all a learning process!

This application is © Google 2013. Please see the LICENSE file for more details.

weight-tracker's People

Contributors

paullewis avatar

Watchers

James Cloos avatar

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.