Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 697 Bytes

File metadata and controls

28 lines (17 loc) · 697 Bytes

Toy Rendering Engine

A simple toy rendering engine to render html, css.

Getting Started

List available demo pages:

cargo run -- --list

Render an example (press Esc to quit, use the arrow keys/WASD/PageUp/PageDown/Home/End to scroll when content exceeds the viewport):

cargo run overlap

If you omit the example name, the renderer defaults to the “basic” page.

Ideas to explore:

  • Add support for additional CSS properties (font-family, text-align, z-index).
  • Swap the bitmap font for a real font rasteriser.

Credits