davod Posted February 22, 2022 Share Posted February 22, 2022 Hello, I'm looking for some basic template or skelton for CAD program base on user ineraction. This is a good example of what I need http://web-cad.org/sketcher.html#__sample2D__ (it is not for commercial use). I think pixi.js can do it, but it is realy weird that I have to implant functionality like drawing polygon with mouse or get distance between two vertexes. Any ideas? Thanks Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted September 24, 2022 Share Posted September 24, 2022 People are doing CAD stuff with pixi. Cant supply the demos, sorry, usually its all under NDA. Maybe you'll be the one who makes the first free CAD demo for PixiJS > it is realy weird that I have to implant functionality like drawing polygon with mouse or get distance between two vertexes. The same way, people dont share even their math libs for pixi, and embedding that in a standart pack of rendering lib start sacred flame wars like VEC2 vs POINT . If you are not like those others, please follow the process of creating pixijs lib, here's the boilerplate: https://github.com/pixijs/pixi-plugin-example Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted September 24, 2022 Share Posted September 24, 2022 Anyone can write stuff about points/distances and interaction. Core team is supplying solutions that dont exist in other webgl renderers, like https://github.com/pixijs/graphics-smooth Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.