Giter VIP home page Giter VIP logo

ambient_ui_clock's People

Contributors

clauvin avatar

Watchers

 avatar  avatar

ambient_ui_clock's Issues

Build basic clock

  • Research minimalistic clocks;
  • Choose a clock design to implement;
  • Created a circle
  • Make code get time from the OS where the program is running (initially, that's Windows);
  • Add hour, minute and second hands, with no movement;
  • Add rotational movement of hands, with an added-at-start initial time;
  • Refactor code creating functions for rotational movement;
  • Change title
  • Make code start with the hands at the 00:00:00 position
  • Add test code of initial colors;

Adding reactiveness to clock

  • Refactored name of consts and functions to follow compiler set rules;
  • Make it start with the time of the computer (except that the time zone is wrong) and keep going from there;
  • Make it be as big or small as the window where it is, changing size if the window changes size;
  • Make it be as big as the initial window when it is created;
  • Make it load the correct timezone - I didn't, but miraculously it's working as it should? Great, I should've stored the info of this, now I have to basically chalk to me misreading the clock as correct. NEVERMIND, THE HOUR HAND IS USING WRONG ROTATIONAL POSITIONING (on top of the previous time zone bug)
  • Ok, how hooks work exactly?
  • Ok, the clock is wrong. Why?
  • How to read the time zone properly? It's a bug.
  • #3
  • Check if hour hand is at its correct position for all hours; definitively is not
  • Fix hour hand initial positioning;
  • Add initial adjustment of minute hands by the position of the second hand (in other words, the second initial offset);
  • Add initial adjustment of hour hands by the amount of minutes and seconds initially passed; (in other words, the second and minute initial offsets);
  • More refactoring, to help with tests;
  • Add test code of rotational movement;
  • The test failed, time to fix the code;
  • Fixed the test, BUT now I have a problem of float precision to analyze - why is it happening, and should I tolerate it? How?
  • Add test code of computer time applied;
  • Add test code of clock size regarding window changes
  • Add foldable UI to change the size of the border;
  • Why my fullscreen test breaks the game if it has an UI?
  • Add foldable UI to change the colors of the clock;

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.