Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| From | "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> |
|---|---|
| Newsgroups | sci.crypt |
| Subject | Comic relief... The trisector... |
| Date | 2021-09-17 15:16 -0700 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <si3446$nq2$1@gioia.aioe.org> (permalink) |
The trisector master recently received a massive head wound... It thinks
this crap is a solution. I coded this up to make you laugh, joke around.
Or, is it so stupid, it makes you accidentally spill coffee on your
keyboard? YIKES. Beware.
The, mess, lol:
_____________________________
// LOL! Just a joke, jest. :^D
namespace ct_trisect_LOL
{
void do_it_lol(
ct::plot::cairo::plot_2d& plot,
glm::vec2 p0,
float angle
) {
glm::vec2 p0_circle = {
glm::cos(0), glm::sin(0)
};
glm::vec2 p1_circle = {
glm::cos(angle), glm::sin(angle)
};
glm::vec2 dif = p1_circle - p0_circle;
glm::vec2 dif_p0 = p0_circle + dif / 3.f;
glm::vec2 dif_p1 = p1_circle - dif / 3.f;
plot.line(p0, p0_circle, CT_RGBF(1, 0, 0), 5.f);
plot.line(p0, p1_circle, CT_RGBF(0, 1, 0), 5.f);
plot.line(p0_circle, p1_circle, CT_RGBF(0, 0, 1), 5.f);
plot.circle(dif_p0, .02, CT_RGBF(1, 1, 0));
plot.circle(dif_p1, .02, CT_RGBF(0, 1, 1));
plot.line(p0, dif_p0, CT_RGBF(1, 1, 1), 5.f);
plot.line(p0, dif_p1, CT_RGBF(1, 1, 1), 5.f);
}
void manifest(
ct::plot::cairo::plot_2d& plot
) {
std::cout << "ct_trisect_LOL::manifest()\n";
do_it_lol(plot, { 0, 0 }, CT_PI / 4.f);
}
}
_____________________________
Here is a rendering:
https://i.ibb.co/nn83q6g/ct-tri-shit-lol.png
I am wondering if this is worth a laugh at all...
YIKES! ;^)
Back to sci.crypt | Previous | Next — Next in thread | Find similar | Unroll thread
Comic relief... The trisector... "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2021-09-17 15:16 -0700
Re: Comic relief... The trisector... Max <maxturv26@gmx.net> - 2021-09-18 16:31 +0200
Re: Comic relief... The trisector... "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2021-09-19 13:32 -0700
Re: Comic relief... The trisector... Max <maxturv26@gmx.net> - 2021-09-19 22:42 +0200
Re: Comic relief... The trisector... "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2021-09-19 20:07 -0700
Re: Comic relief... The trisector... "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2021-09-19 20:10 -0700
Re: Comic relief... The trisector... Phil Carmody <pc+usenet@asdf.org> - 2021-09-20 16:58 +0300
Re: Comic relief... The trisector... "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2021-09-22 12:31 -0700
Re: Comic relief... The trisector... "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2021-09-19 20:13 -0700
Re: Comic relief... The trisector... "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2021-09-19 23:56 -0700
Re: Comic relief... The trisector... "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2021-09-22 21:53 -0700
csiph-web