|
This message has been flagged as potential spam and is awaiting moderation
|
|
|
|
|
After a ton of work hacking away at plutovg and integrating its functionality, I came up with this API
using color_t = color<TYPE>;
const int width = 80;
const int height = 80;
bmp = create_bitmap<TYPE>(size16(width,height));
bmp.fill(bmp.bounds(),color_t::blue);
float center_x = width / 2.f;
float center_y = height / 2.f;
float face_radius = 35;
float eye_radius = 5;
float mouth_radius = 25;
float eye_offset_x = 12;
float eye_offset_y = 10;
float eye_x = center_x - eye_offset_x;
float eye_y = center_y - eye_offset_y;
canvas c(size16(width,height));
c.on_write_callback([](const rect16& bounds, rgba_pixel<32> color, void* state){
return bmp.fill(bounds,color);
});
c.on_read_callback([](point16 location,rgba_pixel<32>* out_color, void* state){
return bmp.point(location,out_color);
});
c.initialize();
c.arc({center_x,center_y},face_radius,0,math::two_pi,0);
c.fill_color(color_t::yellow);
c.stroke_color(color_t::black);
canvas_stroke_style style = c.stroke_style();
style.width = 5;
c.stroke_style(style);
c.render();
c.arc({eye_x,eye_y},eye_radius,0,math::two_pi,false);
c.arc(pointf(eye_offset_x+center_x,eye_y),eye_radius,0,math::two_pi,false);
c.stroke_paint_type(canvas_paint_type::none);
c.fill_color(color_t::black);
c.render();
c.arc({center_x,center_y},mouth_radius,0,math::pi,0);
c.fill_paint_type(canvas_paint_type::none);
c.render();
print_ascii(bmp);
free(bmp.begin());
This draws a smiley face, all pretty and anti-aliased.
Unfortunately it's more complicated to use than I'd like owing to all the capabilities and options.
Either way, I'm thrilled to have gotten this far. I had to gut plutovg, and I'll probably do more.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
This message has been flagged as potential spam and is awaiting moderation
|
|
|
|
|
Retro camera[^]
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Wordle 1,177 4/6*
π¨π©β¬β¬β¬
β¬π©π©π¨β¬
β¬π©π©β¬π©
π©π©π©π©π©
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
β¬π©π©π¨β¬
β¬π©π©β¬π©
π©π©π©π©π©
In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP
|
|
|
|
|
Wordle 1,177 4/6*
π¨β¬β¬π¨β¬
β¬β¬π©π¨β¬
π©π©π©β¬π©
π©π©π©π©π©
|
|
|
|
|
Wordle 1,177 5/6
π¨π¨β¬π¨β¬
β¬π¨π¨π¨β¬
β¬β¬π©π¨π¨
π©π©π©β¬π©
π©π©π©π©π©
Ok, I have had my coffee, so you can all come out now!
|
|
|
|
|
Wordle 1,177 5/6
β¬π¨β¬β¬β¬
π¨β¬β¬β¬β¬
β¬β¬π©π¨π¨
π©π©π©β¬π©
π©π©π©π©π©
Within you lies the power for good - Use it!
|
|
|
|
|
Wordle 1,177 4/6
β¬β¬π©β¬β¬
β¬β¬π©β¬β¬
β¬π©π©π©π©
π©π©π©π©π©
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
It seems impossible to get a fraction with more than 10 in the denominator from these fonts. Certainly someone has produced such a font.
|
|
|
|
|
|
I don't have a specific recommendation but I go to fontsquirrel.com to get my fonts.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
Do the fractions you want exist in Unicode? I would think that if not, then no font will have them.
|
|
|
|
|
|
Inheritance.
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
I know it's a joke, but I just wanna say... the vast, vast majority of millionaires are self made.
Jeremy Falcon
|
|
|
|
|
β¦ the vast majority of billionaires are self-made snake oil salesmen.
FTFY.
Eg. Oracle and SAP.
And Elon Musk with his self-driving automobiles.
modified yesterday.
|
|
|
|
|
Funny you didnβt mention Bill Gates or Jeff Bezos. Itβs always the same old story with people like you, never have anything nice to say. Quick to insult. And apparently hate anyone with money.
I could list some of the great things Musk did, for instance. But, Iβd bet youβd still hate him because of your programming. And I have zero delusions.
This is the part where you disagreeβ¦ because thatβs all people do online.
Also, a billionaire and a millionaire are not the same thing. You took this post and perverted it into something bad. Shame on you.
Jeremy Falcon
|
|
|
|
|
I haven't followed Gates, but Bezos deserves all the scorn that can be heaped on him for his continual lawsuits against NASA and SpaceX. And no, I'm not a Musk fan, but Blue Origin has yet to deliver any orbital systems and SpaceX has not one, but two orbital class rocket systems now. Every time BO has lost a NASA contract they've filed a lawsuit against NASA over their losing the contract to SpaceX.
|
|
|
|
|
Just a feeling or can it be proven?
|
|
|
|
|
I don't have a report off the top of my head, because only people without experience carry around facts all day long IMO. If we're being honest, most people just Google crap and pretend to be experts.
But, unlike those that have zero experience in the field I've spent decades studying millionaires either in real life, in books, or online. I also know a couple in real life, including some in my close family (as in plural). Also, one of my brother's buddies growing up became one through a lawsuit. So, I've also seen firsthand just how full of it and dishonest some people are when it comes to money (not him for the lawsuit, from people around him). For instance, I watched how my mother changed in how she treated said dude once he became wealthy. I've also spent time in Beverly Hills studying people, so I know exactly what the trust fund babies act like. Doesn't take a genius to figure out who earned it.
But do you think most people will go to where the rich are to study them? No, most people online are just fake, thus my lack of inclination to entertain nonsense these days. It's always the same old crap that's rooted in jealousy and hate (not you man, the other post). There's always gonna be some dude who hasn't even left his house pretending to be an expert online because some stupid news story told them what to think.
While I'm not ultra wealthy myself (yet) I've made more than most people in my field that I've met, given the fact I have no college degree and not working for a FAANG company. And that was 100% proportionate to how much effort I've put into my education and ability to do my job and invest. So, given the fact the personal experience is anecdotal, I don't solely rely on my experience alone for that stat. It could've been a book I read a decade ago. But, it did sick with me. It might've been The Millionaire Next Door. I'd have to read it again to be certain; it's been a long time since I've read it. Good book, though. Anyway, it's common knowledge amongst the wealthy; only the poor think it was magic to justify the fact they'd rather play video games, etc.
If you need an online source, even Forbes (which is usually wrong IMO ) agrees: 10 Habits Of Self-Made Millionaires. You'll have to read it as the title alone doesn't elude to the point.
Also, if you need another online source, peeps like Dave Ramsey would agree with what I'm saying. He's interviewed 1,000s of millionaires and will say the same. Just go start watching his YT videos.
Anyway, thanks for actually asking. Sorry if this came off as poopy, but it's because I am. Most people (not you) aren't here to genuinely learn. Like even if I talk about investing here, people just wanna talk about themselves and give me advice despite the fact I can tell I've made more money than them having figured out stuff they haven't yet when it comes to trading, etc. It's all ego and nonsense. I will give you this stat though, I've lost 60K in crypto listening to broke arse clowns who are fake and pretended to be experts though. Don't worry, I'm ok... unlike these fake peeps online. But still, that's a lesson you only want to learn once.
I've seen enough to instantly spot the BS these days. Including running a meetup group about Forex while I lived in California. Maybe I'm a lousy teacher, but I lost interest in running it when peeps where there to brag, etc. despite them having never made money.
So, I'm just grumpy these days. And I always will be until I find my peeps.
Jeremy Falcon
modified 10hrs 15mins ago.
|
|
|
|
|
Lol, that much text, just to tell 'I can't prove it'.
Please do not take it as offense, but what you write it's simply what you denounce.
Now let us forget it
|
|
|
|
|
You clearly didn't read the link man. Don't ruin a good thing by proving to me you're just like the rest of them.
I gave you THREE citations. THREE.
And if we're going to play this game, you can't prove I'm wrong. Do better.
Jeremy Falcon
|
|
|
|
|
How many millionaires have you personally talked to and learned from by the way? One... None? I bet it was none. But that won't stop you from acting like this online. I just gave you very high quality information and you wrote it off. It's a waste of my time, clearly.
Jeremy Falcon
|
|
|
|
|