Skip to content

fltk-rs/demos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fltk-rs demos

Documentation Crates.io License Build


This repository contains demos and examples of applications built with fltk-rs, a user interface library in Rust based on the Fast Light Toolkit (FLTK).

These are usually associated with video tutorials from this on youtube. Also the fltk-rs repo has an examples directory for several standalone examples. These demo apps mainly show interop with other projects in the Rust ecosystem.

Content

The demos and examples in this demo show the ability of fltk-rs to interact with other projects in the Rust ecosystem. The following resources are provided:

  • Video Tutorials – To make it easy to learn fltk-rs, a tutorial playlist has been created on YouTube that shows how to use the library and develop applications with it.

  • Samples directory – Within the fltk-rs repository is a examples directory that includes stand-alone samples of how to use different components of the library. Examples range from simple windows to more advanced applications with multiple windows and complex controls.

  • Demo apps – In addition to the code examples, this demo provides a number of demo apps that demonstrate fltk-rs' ability to integrate with other projects in the Rust ecosystem. These apps include examples of integration with popular projects like Reqwest, Serde, Tokyo, and many others.

Requirements

To use the demos and examples in this repository, you need to have Rust and the Cargo package manager installed. If you don't have them installed, you can follow the official instructions to install Rust and Cargo on your system.

Install

To install and run the demos and examples in this repository, follow these steps:

  1. Clone this repository to your local machine:
git clone https://github.com/fltk-rs/demos.git
  1. Navigate to the cloned directory:
cd demos
  1. Compile and run the desired demo:
cargo run --release

Contribute

If you would like to contribute more examples or improvements to this demo, please create a new fork of the repository and submit your changes via a pull request. We greatly appreciate your contribution and support of the Fltk and the Rust community. It is appreciated to add at the end of the examples, yours with a demonstration via gif and the title of the repository as shown below.

License

This repository is licensed under the MIT license. You can get more information about the license terms in the LICENSE file of this repository.


The current demos include:


musicplayer

musicplayer

web-todo

web-todo

opengl

opengl

glut

glut

pixels

pixels

plotters

plotters

raqote

raqote

tinyskia

tinyskia

glow

glow

glium

glium

calendar

calendar

speedy2d

speedy2d

femtovg

femtovg

webview

webview

csv

csv

egui-demo

egui-demo

glyphmap

glyphmap

terminal

terminal

rounded-svg

rounded-svg

systray

systray

wgpu

wgpu

cairo

cairo

cairo shadow button

cairo

About

Repo containing demo apps using the fltk crate

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published