8000 GitHub - jshyunbin/SRGL: Simple Rust Graphic Library
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

jshyunbin/SRGL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Rust Graphic Library [SRGL]

License: MIT

Simple Graphic Library in Rust.

use srgl::CanvasBuilder;

fn main() -> Result<(), srgl::Error> {
    CanvasBuilder::new()
        .with_size(400, 300)
        .build().run()
}

Usage

SRGL is designed to be as simple and easy to use. You can open an empty window with just few lines of code!

Features

SRGL is in a very early stage of development and many of the features are still work in progress.

  • 2D rendering
  • anti-aliasing (wip)
  • 3D rendering (wip)
  • shading (Flat, Gouraud, Phong) (wip)
  • ray tracing
  • save img files (wip)

Examples

Examples are available in /examples.

About

Simple Rust Graphic Library

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0