HellOwhatAs

HellOwhatAs / larnt

Public

3D Line Art Engine - Rust rewrite of @fogleman/ln

21
0
100% credibility
Found Feb 06, 2026 at 10 stars 2x -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Rust
AI Summary

larnt is a Rust library for creating 2D vector line art from 3D scenes using primitives like spheres and cubes or imported meshes.

How It Works

1
🔍 Discover line art tool

You stumble upon a creative engine that turns 3D shapes into stunning 2D line drawings like sketches of globes and buildings.

2
📦 Add to your toolkit

You easily bring this drawing magic into your project so it's ready to use.

3
🎨 Build your 3D world

You place simple shapes like balls, boxes, cones, or even load 3D models into a virtual scene.

4
📷 Frame the perfect shot

You set where the camera sits, what it looks at, and how wide to see, like directing a movie.

5
Trace the lines

You tell it to render, and it smartly draws only the visible outlines, hiding what's behind.

6
💾 Capture the artwork

You save the result as a sharp picture or flexible vector file you can zoom forever.

🎉 Admire and share

Your clean 3D line art is ready to print, edit, or show friends—pure creative joy!

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 10 to 21 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is larnt?

Larnt is a Rust-based 3D line art engine that turns scenes built from primitives like spheres, cubes, cylinders, or OBJ/STL meshes into crisp 2D vector paths—output as SVGs or PNGs. Unlike raster renderers, it generates pure vector line art by tracing surface paths and culling hidden lines via raycasting, solving the problem of scalable, editable 3D illustrations without pixel artifacts. It's a rewrite of a popular Go tool, now with CSG ops for boolean shapes and custom texturing.

Why is it gaining traction?

It stands out by outputting infinite-resolution SVGs directly, ideal for line art generator workflows where you need github line code visuals that scale perfectly—no more blurry exports from Blender or SVG hacks. The Rust API feels lightweight yet powerful, with helpers for transformed cylinders or spheres that render clean silhouettes, plus easy PNG fallback via image crate. Developers dig the vector "texturing" for stylized effects like striped cubes or dotted spheres, perfect for line art portraits or posters.

Who should use this?

Generative artists crafting line art blume or lantern festival scenes in Rust apps. Technical illustrators needing vector 3D diagrams for docs or SVGs. Visualization devs building line art erstellen tools who want github line counter-style precision without heavy dependencies.

Verdict

Grab it for prototypes if vector 3D line art fits—docs shine with examples, and the API delivers fast. At 13 stars and 1.0% credibility, it's early (v0.1), so expect tweaks, but the Rust port nails performance for line art bilder.

(198 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.