Search found 1661 matches

by dafhi
Jul 18, 2024 8:26
Forum: General
Topic: CMWC8II
Replies: 11
Views: 510

Re: CMWC8II

i'm not seeing the connection between all kinds of stuff there. i'm not super-interested but if you do feel like having another crack at illustration, try imagining with 8 bit state var(s)
by dafhi
Jul 17, 2024 5:24
Forum: General
Topic: CMWC8II
Replies: 11
Views: 510

Re: CMWC8II

There is a consensus that we should not use a generator's full period. There have been many proposals - one such is to limit to the square root of the period. interesting, though to the sqr seems extreme. maybe they suggest that to for simple design. yeah 2^32 is way too short what's this 2^30 in r...
by dafhi
Jul 16, 2024 23:54
Forum: Sources, Examples, Tips and Tricks
Topic: convert any 32-bit ulong to single 0.0-0.999999
Replies: 11
Views: 537

Re: convert any 32-bit ulong to single 0.0-0.999999

he's doing a floating point hack (which i don't understand) which eliminates the usual division oper
by dafhi
Jul 16, 2024 23:11
Forum: General
Topic: CMWC8II
Replies: 11
Views: 510

Re: CMWC8II

i havent looked at this yet but i plan to

that's interesting about a 2^64 period .. large period rng's are like fairy magic
by dafhi
Jul 16, 2024 23:00
Forum: Sources, Examples, Tips and Tricks
Topic: convert any 32-bit ulong to single 0.0-0.999999
Replies: 11
Views: 537

Re: convert any 32-bit ulong to single 0.0-0.999999

very nice, Mr. Peters. i put in namespace so a person can adjust last1, last0 at any time, and removed if statements namespace rng dim as ulong last0 = &HBFFFFF, last1' = last0 shl 16 function f( seed as ulong = 0 ) as single '' https://www.freebasic.net/forum/viewtopic.php?t=32753 ' static as u...
by dafhi
Jul 04, 2024 1:21
Forum: General
Topic: Radon
Replies: 44
Views: 2647

Re: Radon

i hope you find the right tooling to satisfy your needs. my Gen 4 accumulator is done. i now store a decently accurate floating point average in a byte. it's awesome. though in my random ray shooter, i discovered i'd "need" to track write counts per pixel, which Gen 4 "doesn't have en...
by dafhi
Jun 30, 2024 8:52
Forum: General
Topic: Radon
Replies: 44
Views: 2647

Re: Radon

i often find myself sitting for minutes trying to word something so it's either somewhat clear and hopefully thoughtful. Writer's block. I get that. There are many ways to combat it. What works for me is to save what I have done and then do something else for a while. Very typically when I return, ...
by dafhi
Jun 29, 2024 17:19
Forum: General
Topic: Radon
Replies: 44
Views: 2647

Re: Radon

it's a thing of a post being invisible, aka some kind of forum bug. well it could be anything. a collusion between gov't and aliens. i have composed offline but when i'm inspired, stuff usually flows. i often find myself sitting for minutes trying to word something so it's either somewhat clear and ...
by dafhi
Jun 28, 2024 3:34
Forum: General
Topic: Radon
Replies: 44
Views: 2647

Re: Radon

sharpen 1d and coefficients optimizer /' radon transform with sharpen 1d and coefficients optimizer 2024 June 30 by dafhi update new tool - scaled lerp with expon lerp "endpoints" 1. baseline Radon and Inverse 2. 1d-sharpened radon and Inverse for my 1d sharpen i use array "coeffs&quo...
by dafhi
Jun 25, 2024 17:27
Forum: General
Topic: Radon
Replies: 44
Views: 2647

Re: Radon

unless i'm missing something, i seem to be reconstructing an image nearly perfectly, just not the original image ' ' rd0004a.bas ' ' sciwiseg@gmail.com , 2024 ; lgpl , if applicable ' ' 74% help from ChatGPT ' ' Resize radon() row to closests power of 2, prior to fft . ' '#INCLUDE "../inc/fbmat...
by dafhi
Jun 24, 2024 4:15
Forum: General
Topic: Radon
Replies: 44
Views: 2647

Re: Radon

i did a search on 1d sharpen, found a post mentioning origin [0 1 0] + sharp [-1 2 -1] but it doesn't do radon justice. i might have an idea of how to proceed next: make a delta of source and inverse radon, then analyze radon of that. [edit] by "analyze radon" i mean compare a radon angle ...
by dafhi
Jun 24, 2024 2:04
Forum: Community Discussion
Topic: UnlockMe #1 - Fun Game
Replies: 7
Views: 706

Re: UnlockMe #1 - Fun Game

Code: Select all

dim as any ptr   a0
dim as ubyte ptr b0
a0 = @sec
b0 = a0

*b0 = 1 '' all 255 Nope
*(b0+1) = 1
*(b0+2) = 1
*(b0+3) = 1
by dafhi
Jun 15, 2024 7:55
Forum: General
Topic: Radon
Replies: 44
Views: 2647

Re: Radon

my newest post is hidden, like a previous post fxm and i commented on it. i'll reiterate. my latest post is hidden also, it's on page 2 and you'll only see it if you preview reply unable to view your post until i reply Preview Last hidden post from Luxan ! This might be because of how arrays are bei...
by dafhi
Jun 15, 2024 7:48
Forum: General
Topic: Radon
Replies: 44
Views: 2647

Re: Radon

gen2 accumulator. forget ushort .. i'm using a ubyte might be a possibility for a gen3 #define dbl as double '' reduced text #define sng as single #define min( a, b) iif( (a)<(b), (a), (b) ) #define max( a, b) iif( (a)>(b), (a), (b) ) #macro sw( a, b, tmp ) tmp = a: a = b: b = tmp #endmacro function...
by dafhi
Jun 14, 2024 4:06
Forum: General
Topic: Radon
Replies: 44
Views: 2647

Re: Radon

gen 4 /' -- Gen 4 accumulator demo - 2024 July 3 by dafhi 1 byte accumulator a hack in _trace_onto() works well enough vs. having to saved a per-pixel iter count. '/ #define dbl as double '' reduced text #define sng as single #define min( a, b) iif( (a)<(b), (a), (b) ) #define max( a, b) iif( (a)>(b...