Skip to content

almedso/wordclock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Word Clock

This repository consists of

  • A wordclock business logic crate
  • Crates for displaying on various media
    • yew-wordclock crate (path ./yew) for display as webassembly based web application
    • iced-wordclockcrate (path ./iced) for display rendered on GPU in a graphic window on Linux, Windows and Mac
    • pancurses-wordclock crate (./pancurses) for display in a terminal

Status

The library crate wordclock is covered by CI.

CI Status

How to run

Make sure your have cargo, rustc installed. For the web assembly you also need to install trunk via cargo install trunk and the wasm-unknown-unknown target via rustup add target wasm-unknown-unknown

Clone this repository and run the example

git clone https://github.com/almedso/wordclock.git
cd wordclock
cargo run --example terminal-on

Run the iced GPU accelerated variant

cd ./iced
cargo run

Run the terminal variant variant

cd ./pancurses
cargo run

Run the web assembly variant

cd ./yew
trunk serve --open

TODO


Notes:

  • LED-Strip variant needs 5V and 8 A = 40 W !!!; That is not environment friendly. Maybe via
    • Relay flips
    • ePaper and embedded-graphics

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published