this post was submitted on 21 Jun 2024
69 points (98.6% liked)

Arduino

331 readers
1 users here now

Arduino is an open-source electronic prototyping platform enabling users to create interactive electronic objects.

founded 1 year ago
MODERATORS
 

I'm writing a little plotting library for LCDs. I'll try to publish it once it's more polished. What do you think?

For now it supports reading data from a Vector, arbitrary scaling on both axes, linear interpolation, different point styles (square, circle), arbitrary many graphs.

top 8 comments
sorted by: hot top controversial new old
[–] [email protected] 8 points 4 months ago (1 children)

I'm not sure if it would be helpful for your project, but you might be interested in the concept of the grammar of graphics (https://towardsdatascience.com/a-comprehensive-guide-to-the-grammar-of-graphics-for-effective-visualization-of-multi-dimensional-1f92b4ed4149).

I use a version of this in R as implemented in ggplot2. What is nice about it is that you can use standard text descriptions to build an arbitrary graph.

[–] callcc 3 points 4 months ago

It's a pretty interesting concept. I don't want it here though. I'm just building this for my own needs (mostly fun).

I'll look into this as a consumer though next time I need to plot stuff on a desktop :)

[–] [email protected] 7 points 4 months ago (1 children)

Is the code available? Would love to take a look.

[–] callcc 2 points 4 months ago* (last edited 4 months ago)

Not yet. I'll reply here once it's published. It will be pretty crappy C++ since I don't care too much about learning it properly. I'm just shaving yaks right now.

[–] Anticorp 6 points 4 months ago (1 children)

I would love one of these with a graph over a period of weeks visible on the screen that gives me soil readings from my houseplant.

[–] callcc 5 points 4 months ago

Yes, great idea! I love having lil devices around that I can simply look at instead of needing to use my phone or a laptop.

[–] [email protected] 6 points 4 months ago (1 children)

Omg that's so fucking cuuuuuuuttttteeeeeee

It would go perfect on a costume for like a fake techno watch. There's probably real uses that's just my first thought though.

[–] callcc 4 points 4 months ago

Thanks a lot. I mostly did it because I love the looks of it too (and because I've always wanted to build some kind of GUI library). I was also considering using it for something artsy. I like the idea of a watch!