Deutsch English Français Italiano |
<v4i3av$30hof$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!feeds.phibee-telecom.net!3.eu.feeder.erje.net!feeder.erje.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> Newsgroups: comp.lang.c Subject: Re: "undefined behavior"? Date: Fri, 14 Jun 2024 11:49:02 -0700 Organization: A noiseless patient Spider Lines: 47 Message-ID: <v4i3av$30hof$1@dont-email.me> References: <666a095a$0$952$882e4bbb@reader.netnews.com> <8t3k6j5ikf5mvimvksv2t91gbt11ljdfgb@4ax.com> <666a18de$0$958$882e4bbb@reader.netnews.com> <87y1796bfn.fsf@nosuchdomain.example.com> <666a2a30$0$952$882e4bbb@reader.netnews.com> <87tthx65qu.fsf@nosuchdomain.example.com> <v4dtlt$23m6i$1@dont-email.me> <NoEaO.2646$J8n7.2264@fx12.iad> <v4fc5j$2cksu$1@dont-email.me> <v4ff97$2d8l1$1@dont-email.me> <87o784xusf.fsf@bsb.me.uk> <v4g7i3$2icc2$1@dont-email.me> <87ikybycj6.fsf@bsb.me.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Fri, 14 Jun 2024 20:49:03 +0200 (CEST) Injection-Info: dont-email.me; posting-host="8e5f18a20736c78d4fdceb317c66453f"; logging-data="3163919"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+pcxbYIDhHDQ2unS5G5+ZLZ/D6iAFzo0w=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:MPE0DrsWEVZd6YYjV7UJZGLDNTg= Content-Language: en-US In-Reply-To: <87ikybycj6.fsf@bsb.me.uk> Bytes: 3125 On 6/14/2024 4:44 AM, Ben Bacarisse wrote: [...] > Which is why I thought you might be including images in the notion of > "holding rgba values". Fwiw, I remember doing a channel based hit map that stored an image using RGBA but used floats. Each pixel would have a hit: struct hit { float m_color[4]; }; It would take all of the hits and depending on what was going on during iteration it would increment parts of hit::m_color[4]. The sum of all of the colors would be the total hits. Fwiw, here is an example of one of my results from a trig based bifurcation iterated function system I developed. There is actually some pseudo code in the description: https://youtu.be/XKhS_nklCkE Notice the white colors? Those are high density points that create the "main" connections in the bifurcation. Here is my pseudo code that has allowed others to recreate it: ______________ A highly experimental #iterated function system of mine that creates many #fractal #bifurcation diagrams locked in the unit square. Afaict, the animation makes it appear as if everything is rotating around a cylinder. Here is my #IFS that was used to create this animation: ______________ // px_mutation interpolates from -4...4 across each frame; 1440 here. render frames: _________ // angle interpolates from 0...pi2 across iterations // px = py = 0 // Iteration: px = sin(angle * px_mutation); py = cos(angle * py); ______________ Plot every pixel in the ifs. Actually, I am adding color to each pixel visited during iteration. ______________ It was fun to create! :^)