GithubHelp home page GithubHelp logo

gschian0 / rust-demos-tests Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fltk-rs/demos

0.0 0.0 0.0 2.38 MB

Repo containing demo apps using the fltk crate

License: MIT License

Rust 100.00%

rust-demos-tests's Introduction

fltk-rs demos

This is a repo for fltk-rs demo examples. These are usually associated with video tutorials from this playlist 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.

The current demos include:

  • web-todo: Creating an async web todo app using fltk, reqwest, serde and tokio.
  • web-todo2: Creating an async web todo app using fltk, surf, serde and async-std.
  • libvlc: Creating a media player using fltk and the vlc crate.
  • musicplayer: Creating a music player using custom widgets and the soloud crate.
  • opengl: Raw OpenGL drawing in an fltk GlWindow.
  • glut: Use the gl crate (An OpenGL function pointer loader) to do OpenGL drawing.
  • wgpu: Use wgpu-rs for gpu accelerated drawing.
  • pixels: Use the pixels crate to draw a wgpu accelerated framebuffer.
  • framebuffer: Using fltk for framebuffer drawing.
  • plotters: Use plotters for live plotting (drawing animations) with fltk.
  • raqote: Use raqote for custom drawing (paint example).
  • tinyskia: Use tiny-skia for custom drawing.
  • systray: Use nwg to create an fltk app with systray functionalities on Windows.
  • glow: Use the glow crate to do OpengGL drawing.
  • glium: Use the glium crate for OpenGL drawing.
  • calendar: Uses the chrono crate to create an fltk calendar dialog.
  • image: Uses rust-embed and the image crates to load images into fltk.
  • speedy2d: Uses speedy2D crate to do 2D drawings of a circle and an RGB image in a GlWindow.
  • femtovg: Uses femtovg for 2D drawing in a GlWindow.
  • ffmpeg: Uses ffmpeg for software video rendering.
  • webview: Embeds a webview inside an fltk app.
  • csv: Uses serde and csv to perform custom drawing of data.
  • rounded-svg: Use the svg crate along with fltk to create images with rounded borders.
  • libmpv: use libmpv to play a video inside an fltk GlWindow.
  • mpv: Use mpv (the command line app) to play a video inside an fltk window.
  • xterm: embed an xterm window inside an fltk window.
  • egui-demo: Use fltk as a backend for egui.
  • gst: Use libgstreamer to play a video inside an fltk window
  • cairo-demo: Use cairo for custom drawing inside fltk widgets
  • glyphmap: Maps glyphs (specifically font icons) to their unicode codepoint.

The demos can be run by accessing any of the directories and running:

cargo run --release

Screenshots:

  • musicplayer: alt_test
  • web-todo: alt_test
  • libvlc alt_test
  • opengl alt_test
  • glut alt_test
  • pixels alt_test
  • plotters alt_test
  • raqote alt_test
  • tinyskia alt_test
  • glow alt_test
  • glium alt_test
  • calendar alt_test
  • speedy2d alt_test
  • femtovg alt_test
  • webview alt_test
  • csv alt_test
  • egui-demo alt_test
  • glyphmap alt_test

rust-demos-tests's People

Contributors

moalyousef avatar ar37-rs 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.