#simulation #visualization #graphics

visim

A package that handles rendering for visualization and simulation

1 unstable release

0.1.0 Jun 20, 2023

#608 in Graphics APIs

22 downloads per month

Custom license

34KB
899 lines

visim

A rust library based on opengl and sdl2 used to simulate and visualize algorithms and data structures. I made this for personal purpose so dont expect long time maintenance.A rust library to simulate and visualize algorithms and data structures. I made this for personal purpose so dont expect long time maintenance.

Features / Todos

  • Error handling
    • Shader errors.
    • Write a macro for errors to simplify the err.rs file.
    • OpenGl runtime errors.
  • Render Engine
    • Polygon shape
    • Custom Color type
    • Custom Vector type
    • Window struct for abstraction
    • Customizable Shader Programs
    • Render struct
    • Batch rendering
    • Rect shape
    • Circle shape
    • Outline thickness at shapes
    • Bitmap fonts
    • Textures
    • Program::set_uniform_mat*
  • Custom UI module
    • Surfaces holding T: impl Widgets
    • Label
    • Button
    • Slider
    • Input
    • Color picker
  • Graphs / Plotting
    • Zoom in / out
  • Other data visualization tools
    • Table

Dependencies

~16MB
~354K SLoC