Possible to implement drawing feature into website?

Hello,

Do you think it’s possible for me to implement the drawing feature in the desktop app into a node js website? The way I envision it is having a drawing input square like on the app, but accessed from a website instead. I guess I’m ultimately wondering if it’s possible for me to see how your app generates G-Code from the drawing input?

Thanks!

I made a simple Node app that lets you draw from a web canvas:

https://github.com/jonhassall/line-us-web

Video demo

1 Like

Thanks John - that’s a great example.

The GCode part is quite straightforward - you’ll use the G01 command. The app just collects a list of points in an array, does a little bit of cleaning (for example points that are very close to each other) and then sends one G01 per point.

Let us know how you get on!

1 Like

eyy, that’s pretty slick. Thanks!

2 Likes