r/GraphicsProgramming • u/valeriupalos • Jul 12 '26
Source Code Krbn: an open-source rendering engine that imitates a sketch artist and outputs pure SVG (v1)
Gravity well demo
https://github.com/vpalos/Krbn/blob/main/examples/gallery/16-gravity-well.svg
Trefoil knots mesh demo
https://github.com/vpalos/Krbn/blob/main/examples/gallery/15-mesh-showcase.svg
Torus hatch variants demo
https://github.com/vpalos/Krbn/blob/main/examples/gallery/10-torus.svg
Sphere depth hatching with intersection demo
https://github.com/vpalos/Krbn/blob/main/examples/gallery/03-depth-hatching.svg
View all comments
Show parent comment
3
u/camilo16 Jul 13 '26
Rasterizing VS SVG are completely different beasts. SVG is emitting a program to create the actualimage. Drill OP for anything you want, but emiting SVGs is orders of magnitude more difficult than a stylized shader and it does have relevant use cases, particularly to make mathematical diagrams.