patatrac

December 24, 2025 ยท View on GitHub

With this Typst package drawing physics diagrams is faster than ever! No cumbersome trigonometry required! Get started with the introductory tutorial inside the manual.

#import "@preview/patatrac:0.5.0"

#patatrac.cetz.canvas({
  import patatrac: *
  let draw = cetz.standard()

  // You're ready to go!
})

With patatrac you are free to choose your style. Here are a few examples of what you can do.

Gallery: some examples to take inspiration from
gallery/incline.typ gallery/incline-playful.typ
Incline Incline Playful
gallery/smooth-step.typ gallery/pulleys.typ
Smooth Step Pulley System