Giter Site home page Giter Site logo

noga-dev / flutter_nyancat Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 11.32 MB

A Flutter 2D animation of the internet meme, Nyan Cat.

Home Page: https://noga-dev.github.io/flutter_nyancat/

License: MIT License

Kotlin 0.23% Swift 0.76% Objective-C 0.07% Dart 41.54% HTML 2.86% CMake 15.00% C++ 38.19% C 1.34%
flutter meme nyancat

flutter_nyancat's Introduction

Nyan Cat

A demo for https://twitter.com/hashtag/FlutterCounterChallenge2020?src=hashtag_click

Demo

Live demo: https://agondev.github.io/flutter_nyancat/

Click for gif

gif with no sound

For demo with sound: https://twitter.com/noga_dev/status/1341815264577466369

Explanation

When the app is first opened it loads the futures containing the audio and the individual frames of the cat.

Then the home page loads with the assets ready and initializes a random viewport with random stars/sparks and counter set to 0.

Pressing the + button spawns a Nyan Cat at a random location off screen and transitions the viewport to a new simulated "camera location" via changing of the variables in the home widget through the incrementCounter function.

The function, in addition to incrementing the actual counter in the middle of the screen, reinitializes the viewport, giving the impression that we're following Nyan Cat in its adventure through space.

Notes

N.B. The code is unoptimised.

flutter_nyancat's People

Contributors

noga-dev avatar

Watchers

 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.