Code Monkey home page Code Monkey logo

puzzle_hack's Introduction

Flutter Hack Challenge

Tile Animation

When clicking the tile, the tile will break at the point where the user clicks (or taps). And from this point multiple breaking lines for this tile will be generated (The number of the lines is adjustable in the settings) and then the tile will be converted to many pieces. and then there are tow types of animation ( you can choose the type from the settings)

Slide Animation

here the pieces will just slide to the new position and shape the new tile.

Explode-implode animation

here the pieces will preform an explosion animation. And after the explosion is finished a number of pieces will be generated and perfume an imploded animation to shape at the end the new tile in the new position (The explosion and implode animation duration is adjustable in the settings).

Tile Animation

Notes

  • For performance reasons on mobile devices, the tile will not break and will be animated as one piece. This behavior could be turned On/Off from the settings.
  • The tile's shape and color will be change according to the chosen background
  • While imploding, the braking point will be set to the middle of the tile.
  • Whenever a tile is in the right position a gray border will appear around it.
  • Press Space to open the settings.

Background Animation

There are three types of backgrounds in the app. On wide screen the background could be changes from the sidebar, otherwise it could be changed from the drawer.

Simple Background

Just simple colorful background, the speed of the animation could be changed from the settings.

Simple Background

Shadows animation

This Background is just a number of moving boxes that show shadows against the moving light, this light position will change with mouse position and if the running device is a mobile device, then the light position will follow the finger position or will float with the direction of the boxes.

Those properties are adjustable in the settings:

  • The boxes number
  • The boxes speed
  • The light radius
  • The length of the box shadow

 Shadows animation

Space Animation

This background will show a shining star in the middle of the screen with a number of asteroids which orbit around it, and at random positions in the screen a number of stars will glow. The number of asteroid and start is adjustable from the settings.

As asteroids orbit around the star, the whole view will rotate in vertical direction in a specific speed, which can be adjusted from the settings.

  • When the mouse on background scroll Up/Down to zoom In/Out
  • You can click and drag on the background to:
    • Up/Down: Rotate vertical
    • Left/Right: Increase/Decrease the asteroids count.

Those properties are adjustable in the settings:

  • The asteroids count.
  • The rotation speed.
  • Zoom in/out.
  • The stars count.
  • The stars fading speed.
  • The vertical rotation speed.

 Space animation

Used packages

Platforms

Tested on Web, Windows and Android

puzzle_hack's People

Contributors

schabanbo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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.