Skip to content

An OpenGL application written in Rust simulating an old CRT monitor for a pre-stream screen, displaying topic, start time, and countdown.

Notifications You must be signed in to change notification settings

22Xy/opengl-old-crt-monitor

 
 

Repository files navigation

OpenGL Old CRT Monitor

This is a personal fork of the stream-start-screen project.

Screenshot 2025-04-06 at 1 37 50 AM

Description

stream-start-screen is a Rust application that displays a customizable pre-stream starting screen using OpenGL (glow) and glfw for windowing. It renders a 3D scene containing a monitor, screen, table, and walls. The screen displays dynamic text including:

  • The stream topic for the day.
  • The scheduled stream start time.
  • The current time.
  • A countdown timer indicating the time remaining until the stream starts.

Development

Ensure you have Rust, Cargo, and Cmake installed.

To run the application, use the following command:

cargo run -- --start-time HH:MM:SS --topic "Your Stream Topic"

Building

To build the project, ensure you have Rust and Cargo installed. Then run:

cargo build --release

The executable will be located at target/release/stream-start-screen.

Usage

The application requires two command-line arguments:

./target/release/stream-start-screen --start-time HH:MM:SS --topic "Your Stream Topic"

Replace HH:MM:SS with the stream start time (24-hour format) and "Your Stream Topic" with the relevant topic.

Example:

./target/release/stream-start-screen --start-time 14:00:00 --topic "Working on a Rust project"

Troubleshooting

For Mac users, you may encounter this issue. I fixed it in main.rs.

About

An OpenGL application written in Rust simulating an old CRT monitor for a pre-stream screen, displaying topic, start time, and countdown.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 94.6%
  • GLSL 4.5%
  • Other 0.9%