You could probably make this a bit better by having multiple options for drawing. You could use less memory to draw complex shapes For example, instead of just being able to draw a line from point A to point B, you should add a small flag (a handful of bits or a byte for ease of coding) that tells it if you want to draw a line, Bezier curve (quadratic or cubic), or arc between the points. if you specify a line, it will expect two points to follow if you specify a quadratic curve, you can expect 3 if you specify a cubic curve, you can expect 4 an arc could be defined in multiple ways. An easy one for this application might be 2 "root" points for start and end, and a 3rd point somewhere along the arc. Then, you could easily calculate the points along the path in the arduino which uses far less memory than storing all the points beforehand. In fact, fonts are stored as lines and bezier curves, which means you could have another flag for text with a start (x,y), the length of the text (chars) to know when to stop looking, the font size (and name/ID if you want to be fancy with it), and the actual characters to write.
Hi, potentiometer is a good option rather than selecting patterns from an app I think. Did you cover everything in the arduino code to run the machine? Is there any option to get all the designs in a single code and can be changed.
Writting support comment. Was here before 1 mln views.
same
Here before 1000, where's my prize :O
You could probably make this a bit better by having multiple options for drawing. You could use less memory to draw complex shapes
For example, instead of just being able to draw a line from point A to point B, you should add a small flag (a handful of bits or a byte for ease of coding) that tells it if you want to draw a line, Bezier curve (quadratic or cubic), or arc between the points.
if you specify a line, it will expect two points to follow
if you specify a quadratic curve, you can expect 3
if you specify a cubic curve, you can expect 4
an arc could be defined in multiple ways. An easy one for this application might be 2 "root" points for start and end, and a 3rd point somewhere along the arc.
Then, you could easily calculate the points along the path in the arduino which uses far less memory than storing all the points beforehand.
In fact, fonts are stored as lines and bezier curves, which means you could have another flag for text with a start (x,y), the length of the text (chars) to know when to stop looking, the font size (and name/ID if you want to be fancy with it), and the actual characters to write.
good idea
Nice out of the box thinking here. Great job.
Hi, potentiometer is a good option rather than selecting patterns from an app I think. Did you cover everything in the arduino code to run the machine? Is there any option to get all the designs in a single code and can be changed.
yep check the description I also have the instructables
Yoo