Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| From | "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> |
|---|---|
| Newsgroups | sci.math |
| Subject | Re: math mandala |
| Date | 2021-06-28 16:00 -0700 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <sbdk9k$3fe$1@gioia.aioe.org> (permalink) |
| References | (4 earlier) <3e66629b-9cf4-4436-8200-24512ddf9052n@googlegroups.com> <sbb462$t9k$1@gioia.aioe.org> <38070175-f5cd-4fa3-96a2-c793a2efaf12n@googlegroups.com> <sbdij0$1hao$1@gioia.aioe.org> <25035206-ae30-438f-a8d6-8c9ce6e07487n@googlegroups.com> |
On 6/28/2021 3:47 PM, sobriquet wrote:
> On Tuesday, June 29, 2021 at 12:31:10 AM UTC+2, Chris M. Thomasson wrote:
>> On 6/28/2021 3:35 AM, sobriquet wrote:
>>> On Monday, June 28, 2021 at 2:13:04 AM UTC+2, Chris M. Thomasson wrote:
>>>> On 6/27/2021 2:57 AM, sobriquet wrote:
>>>>> On Sunday, June 27, 2021 at 4:58:26 AM UTC+2, Chris M. Thomasson wrote:
>>>>>> On 6/24/2021 6:24 PM, sobriquet wrote:
>>>>>>> Another version:
>>>>>>> https://i.imgur.com/wXJDqRt.png
>>>>>>>
>>>>>> Nice! I might just fire up my C++ compiler and try to replicate this beauty!
>>>>>
>>>>> I've also added some ways to visualize the potential color combinations
>>>>> for obvious palette choices with 6 or 12 colors equally spaced along the
>>>>> color circle.
>>>>>
>>>>> https://www.desmos.com/calculator/3xp8fp6dlk
>>>>>
>>>> Nice! Fwiw, here is a little crude try I did:
>>>>
>>>> https://i.ibb.co/qNF88xS/ct-test-p0.png
>>>
>>> It's also somewhat similar to the metatron's cube pattern:
>>>
>>> https://i.imgur.com/8O91rxT.jpeg
>>>
>>> What I like about the mandala design is that it allows for some nice examples
>>> of visual reasoning, where two shapes that seem quite different are actually
>>> the same area and visual arguments where you apply some transformations
>>> to cut up and rearrange one of the shapes to turn it into the other to demonstrate
>>> they are actually identical in size.
>>>
>>> Like here where the area shaded green is equal to the area shaded in blue:
>>> https://www.desmos.com/calculator/7zyaaf17xp
>>>
>>> Maybe it would be possible to create a 3D version where this also holds for the
>>> volumes of the constituent shapes where such relationships hold among them.
>>>
>> Indeed! By the way, you inspired me to code up my ball bearing fractal
>> again without looking at my older code just to see if I could do it
>> again. Well, I can!
>>
>> 5-ary: https://i.ibb.co/zNp9223/ct-test-p4.png
>>
>> 6-ary: https://i.ibb.co/nLrsjGQ/ct-test-p2.png
>>
>> 7-ary: https://i.ibb.co/WH7YBw2/ct-test-p3.png
>>
>> My crude code, my low-level C++ code calls into this:
>> _________________________________________
>> namespace ct_ball_bearing
>> {
>> void test_0_bearing(
>> unsigned long ri,
>> unsigned long rn,
>> ct::plot::cairo::plot_2d& plot,
>> glm::vec2 origin,
>> float origin_radius,
>> unsigned long n
>> ) {
>> if (ri >= rn) return;
>>
>> // Gain basics
>> float angle_base = CT_PI2 / n;
>>
>> // Gain bearing radius and ratio
>> glm::vec2 bearing_radius_ratio_p0 = {
>> origin.x + origin_radius,
>> origin.y
>> };
>>
>> glm::vec2 bearing_radius_ratio_p1 = {
>> origin.x + glm::cos(angle_base) * origin_radius,
>> origin.y + glm::sin(angle_base) * origin_radius
>> };
>>
>> glm::vec2 bearing_radius_ratio_dif = bearing_radius_ratio_p1 -
>> bearing_radius_ratio_p0;
>>
>> float bearing_radius_ratio_diameter =
>> glm::length(bearing_radius_ratio_dif);
>> float bearing_radius_ratio_radius =
>> bearing_radius_ratio_diameter / 2.f;
>>
>> float bearing_radius_ratio = origin_radius / (origin_radius +
>> bearing_radius_ratio_radius);
>>
>> float bearing_radius = bearing_radius_ratio_radius *
>> bearing_radius_ratio;
>>
>> float bearing_inner_radius = origin_radius - bearing_radius * 2.f;
>>
>> // Plot bearings
>> for (unsigned long i = 0; i < n; ++i)
>> {
>> float bearing_angle = angle_base * i;
>>
>> glm::vec2 bearing_normal_p0 = {
>> glm::cos(bearing_angle),
>> glm::sin(bearing_angle)
>> };
>>
>> glm::vec2 bearing_p0 = bearing_normal_p0 * origin_radius;
>>
>> glm::vec2 bearing_ratio_p0 = origin + bearing_p0 *
>> bearing_radius_ratio;
>>
>> plot.circle(bearing_ratio_p0, bearing_radius, CT_RGBF(1, 0,
>> 0));
>>
>> test_0_bearing(ri + 1, rn, plot, bearing_ratio_p0,
>> bearing_radius, n);
>> }
>>
>> plot.circle(origin, origin_radius, CT_RGBF(0, 0, 1));
>>
>> test_0_bearing(ri + 1, rn, plot, origin, bearing_inner_radius, n);
>> }
>>
>> void manifest(ct::plot::cairo::plot_2d& plot)
>> {
>> std::cout << "ct_ball_bearing::manifest\n\n";
>>
>> test_0_bearing(0, 4, plot, { 0, 0 }, 1.f, 5);
>> }
>> }
>> _________________________________________
>>
>> I am using simple recursion to gain the fractal for now... ;^)
>
> Apollonian eye candy!
>
> https://www.shadertoy.com/view/4s2czK
> https://www.shadertoy.com/view/WtdSDf
> https://www.shadertoy.com/view/3tGSWh
> https://www.shadertoy.com/view/ltjBRz
> https://www.shadertoy.com/view/Wt2yzd
>
Oh.... Drooling over those examples! Thanks for the links. I did a quite
a bit of gasket work many years ago. Will try to find some of my work. I
think I posted them publicly.
Fwiw, here are some of my shadertoy's:
https://www.shadertoy.com/view/MdcyRs
https://www.shadertoy.com/view/ltycRz
https://www.shadertoy.com/view/fdBSzm
https://www.shadertoy.com/view/MsKyR3
https://www.shadertoy.com/view/3tlcz4
https://www.shadertoy.com/view/XtscDl
Back to sci.math | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
math mandala sobriquet <dohduhdah@yahoo.com> - 2021-06-12 18:40 -0700
Re: math mandala sobriquet <dohduhdah@yahoo.com> - 2021-06-13 11:55 -0700
Re: math mandala sobriquet <dohduhdah@yahoo.com> - 2021-06-24 18:24 -0700
Re: math mandala sobriquet <dohduhdah@yahoo.com> - 2021-06-26 18:45 -0700
Re: math mandala "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2021-06-26 19:58 -0700
Re: math mandala sobriquet <dohduhdah@yahoo.com> - 2021-06-27 02:57 -0700
Re: math mandala "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2021-06-27 17:12 -0700
Re: math mandala "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2021-06-27 17:19 -0700
Re: math mandala sobriquet <dohduhdah@yahoo.com> - 2021-06-28 03:35 -0700
Re: math mandala "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2021-06-28 14:21 -0700
Re: math mandala sobriquet <dohduhdah@yahoo.com> - 2021-06-28 15:34 -0700
Re: math mandala "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2021-06-28 15:30 -0700
Re: math mandala sobriquet <dohduhdah@yahoo.com> - 2021-06-28 15:47 -0700
Re: math mandala "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2021-06-28 16:00 -0700
Re: math mandala "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2021-06-28 16:01 -0700
Re: math mandala sobriquet <dohduhdah@yahoo.com> - 2021-06-28 16:08 -0700
Re: math mandala "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2021-06-28 16:28 -0700
Re: math mandala "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2021-06-28 17:02 -0700
Re: math mandala sobriquet <dohduhdah@yahoo.com> - 2021-06-28 17:58 -0700
Re: math mandala "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2021-06-28 18:04 -0700
Re: math mandala "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2021-06-13 18:23 -0700
Re: math mandala sobriquet <dohduhdah@yahoo.com> - 2021-06-14 03:21 -0700
Re: math mandala "mitchr...@gmail.com" <mitchrae3323@gmail.com> - 2021-06-14 10:55 -0700
Re: math mandala sobriquet <dohduhdah@yahoo.com> - 2021-06-14 11:08 -0700
csiph-web