Giter VIP home page Giter VIP logo

Comments (2)

bartmachielsen avatar bartmachielsen commented on June 27, 2024

Er is op dit moment een klasse genaamd Animation die waardes genereert en opslaat naar een lijst en deze lijst word dan geloopt en uitgevoerd.

Het moet worden dat een animation een methode (overgenomen uit interface ) krijgt waarbij hij een enkele waarde kan verkrijgen. ("PerformAnimation") hij moet als parameter een Light of meerdere Lights (Variabele array --> zoeken op internet) en een index om weer te geven waar hij in de animatie zit.

Ook moet elke animation een "length" attribuut als integer hebben hoelang de animatie duurt.

AnimationHandler
De bedoeling is dat er straks een aparte AnimationHandler klasse komt met als statische methode "Execute" met als parameter een Animation en Light of meerdere Lights (Variabele array --> zoeken op internet) deze methode start een Timer die elke minuut 10 keer (maximale hoeveelheid) de animatie uitvoert.
Deze methode doet elke keer de index verhogen waarbij je dus kan verkrijgen waar je in de animation zit.

from huecontroller.

bartmachielsen avatar bartmachielsen commented on June 27, 2024

Optioneel is nog dat de snelheid variabel is (Gebruiker variabel en animatie variabel ) en dat elke animatie aangeeft of hij wil dat de lampen faden (en de animationhandler haalt dan de fade van de lampen af en zet achteraf weer terug.

from huecontroller.

Related Issues (4)

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.