Skip to content

erg352/lightwalk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lightwalk

Warning

This crate is in VERY early development: bugs are bound to happen, and I intend on breaking things as I go. PLEASE consider NOT using this crate in a serious project for the time being. Thank you for your patience <3

Lightwalk is a lightweight CPU-driven SDF (signed distance field) rust crate.

Why you might want to use this crate:

  • The ability to define SDFs in a expressive manner by leveraging the language's type system in a similar manner to the standard library's iterators.
  • SDF composition is achieved through zero cost abstractions, meaning that generally, the SDF that is generated by compositing and transforming sub SDFs should be as performant as if the complete SDF was written and optimized by-hand.
  • The crate can be stripped down from it's dependencies to minimise it's footprint. The only required crate is num.
  • Provides optional dependencies like glam and serde that can make integration in codebases smoother. This is required for certain features, like glam with 3d rotations.
  • SDFs can have state, which makes it possible to define colors for objects for example.

About

Fast and efficient SDF and raymarching rust crate

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors