Skip to main content
kiss3d logo

Keep It Simple, Stupid - 3D and 2D graphics for Rust

Simple by Design

Kiss3d is simple 3D and 2D graphics engine in Rust based on WebGpu. It aims to Keep It Simple Stupid for rendering simple geometric primitives and making small interactive demos.

Cross-platform support for Windows, macOS, Linux, and WebAssembly.

src/main.rs
use kiss3d::prelude::*;

#[kiss3d::main]
async fn main() {
let mut window = Window::new("Kiss3d: cube").await;
let mut camera = OrbitCamera3d::default();
let mut scene = SceneNode3d::empty();
scene
.add_light(Light::point(100.0))
.set_position(Vec3::new(0.0, 2.0, -2.0));

let mut c = scene.add_cube(1.0, 1.0, 1.0).set_color(RED);

let rot = Quat::from_axis_angle(Vec3::Y, 0.014);

while window.render_3d(&mut scene, &mut camera).await {
c.rotate(rot);
}
}
Cargo.toml
[package]
name = "my-kiss3d-app"
version = "0.1.0"
edition = "2024"

[dependencies]
kiss3d = "0.38"