Svgbob is a tool that converts text diagrams into SVG images. Designed for simplicity and efficiency, Svgbob provides a command-line interface (CLI) to process text input and generate high-quality SVG output.
Svgbob can be used via its CLI. After installing, you can create SVG images from text diagrams with a simple command.
To install Svgbob, you need to have Rust and Cargo installed on your system. Then, run:
Create an SVG image from a text diagram by running:
This command takes the diagram in input.txt
and creates an SVG file output.svg
.
You can see Svgbob in action with an interactive Demo.
For detailed information on how Svgbob interprets text diagrams, refer to the Specification.
rs_pbrt is a Rust crate implementing the PBRT book's C++ code for physically based rendering.