Git Product home page Git Product logo

afoeee / random-image-timer-se-widget Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 65 KB

A StreamElements custom widget, which randomly picks images from an image pool at predetermined time intervals and displays them.

License: GNU Affero General Public License v3.0

CSS 7.70% HTML 2.72% JavaScript 89.58%
chat custom-widget custom-widgets image image-visualization images live-streaming random-image random-images random-pick

random-image-timer-se-widget's Introduction

Random Image Timer

This StreamElements custom widget can be used to visualize some sorts of content gamification.
An example might be the display of

  • a self-imposed, changing class focus in a RPG.
  • the current item in a randomized giveaway.

Special thanks to Laiyart for the idea.

Description of operation:

The widget randomly picks images from an image pool at predetermined time intervals and displays them.
It has also options to limit said randomness to a certain degree.

See also this demonstration video.

Chat command types:

  • !img random

    Swaps the current image with a random one.

  • !img n

    Swaps the current image with the nth video of the pool.
    The placeholder n can be a number between 1 and the total number of images in the pool.

  • !img timer pause

    Pauses the timer.

  • !img timer resume

    Unpauses the timer.

  • !img timer reset

    Resets the timer to initial time span.

  • !img timer h:m:s

    Sets the timer to the specified amount of time.

    A single number is interpreted as seconds.
    Two numbers are interpreted as minutes and seconds and so on.

Used libraries:

random-image-timer-se-widget's People

Contributors

afoeee avatar

Stargazers

 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.