Zap is a lightweight 🪶 Typst package that makes drawing electronic circuits simple and intuitive. It's the first Typst library designed to align with widely recognized standards like IEC and IEEE/ANSI 📜.
You can find the full list of examples here.
|
|
Simple example | Wheatstone bridge |
#import "@preview/zap:0.2.0"
#zap.canvas({
import zap: *
isource("i1", (0,0), (5,0))
resistor("r1", (5,5), (0,5))
wire("r1.out", "i1.out")
})
You can find the full documentation 📚 available online. It provides comprehensive guides, a detailed list of components, full API references, and example codes to get you started easily.
I highly welcome contributions 🌱! Creating and maintaining Zap takes time and love. If you'd like to help, check out the contribution guidelines and join the journey 🤩!