Bismuth
A generic, bring your own framework/engine graphics library for games and visualizations.
Installation
-
Add the dependency to your
shard.yml
:dependencies: bismuth: github: chances/bismuth
-
Run
shards install
Usage
require "bismuth"
# TODO: Write usage instructions here
See the API documentation.
Debian Linux
Required libraries:
libvulkan-dev
mesa-vulkan-drivers
For NVidia GPUs
nvidia-driver-470
Running Examples
Triangle
macOS
make bin/triangle.app
open bin/triangle.app
Linux
make bin/triangle
./bin/triangle
Behind the Name
Bismuth germanium oxide is one of many other piezoelectric materials used as crystal oscillators.
A crystal oscillator is an electronic oscillator circuit that uses the mechanical resonance of a vibrating crystal of piezoelectric material to create an electrical signal with a constant frequency.
Crystal oscillator, Wikipedia, 2021.