An interesting project is gaining popularity on site X tscircuit , which combines frontend web technologies (React + TypeScript) with electronics design. The idea is simple: instead of classic CAD like KiCad or Altium, we write the circuit as JSX code. The electronic components are represented as React elements, such as a resistor or capacitor. The code is processed into a circuit structure (JSON) and then rendered and prepared for further stages. The project has modules for previewing the circuit directly in the browser, also in 3D form. All this is live, with no delays or charges. The current version is fully functional and allows you to create your own tiles, although it does not yet include full systems such as ERC and DRC. Export to Gerber format is supported, however, and the author has already demonstrated the full process of creating a tile including ordering it from JLC. For a simple project, you can fit in just 40 lines of code.
The project is available under the MIT licence and is 100% open source.
tscircuit can be tried for free online:
https://tscircuit.com/editor
Just paste in an example of tile code and you can then edit it live along with a 2D/3D preview:
A gallery of screenshots showing the results for the code posted above:
Sources:
Project repository:
https://github.com/tscircuit/tscircuit
Do you see the potential of this approach to project development? Or has anyone already tested, tried to design a PCB this way?
The project is available under the MIT licence and is 100% open source.
tscircuit can be tried for free online:
https://tscircuit.com/editor
Just paste in an example of tile code and you can then edit it live along with a 2D/3D preview:
Spoiler:
Code: Javascript
A gallery of screenshots showing the results for the code posted above:
Sources:
Project repository:
https://github.com/tscircuit/tscircuit
Do you see the potential of this approach to project development? Or has anyone already tested, tried to design a PCB this way?
Cool? Ranking DIY Helpful post? Buy me a coffee.