Search found 1682 matches

by dafhi
Nov 06, 2024 3:07
Forum: General
Topic: Radon
Replies: 51
Views: 11806

Re: Radon

cool! saved here's one of my old blits updated for readability /' -- imagevars with soom - 2024 Nov 5.u1 by dafhi update: removed a redundant test in blit() [line commented] '/ #define min( a, b) iif( (a)<(b), (a), (b) ) #define max( a, b) iif( (a)>(b), (a), (b) ) sub _gfx_release( byref im as any p...
by dafhi
Nov 05, 2024 1:04
Forum: Community Discussion
Topic: Happy birthday dodicat
Replies: 18
Views: 2398

Re: Happy birthday dodicat

1989-ish i used 1/64 notes to arpeggiate Moonlite Sonata mvt 3 (perfectly) in BASICA. Saved on a 5-1/4 floppy, could never find it years later. I've wanted to develop a music app for the longest time, which i did, albeit riddled with bugs. It was like whack-a-mole. Fix one thing, another would appea...
by dafhi
Sep 18, 2024 11:24
Forum: Sources, Examples, Tips and Tricks
Topic: 3D Geometry , basics
Replies: 58
Views: 18815

Re: 3D Geometry , basics

cubes!

nice formatting
by dafhi
Aug 25, 2024 8:56
Forum: General
Topic: Cryo EM
Replies: 5
Views: 2796

Re: Cryo EM

ok thanks i'll look at it later

update: found the bug. but my point cloud visualization needs an overhaul. might get to it in the coming weeks
by dafhi
Aug 25, 2024 6:39
Forum: General
Topic: Cryo EM
Replies: 5
Views: 2796

Re: Cryo EM

my version for start of a basic visualizer

SARG found a bug
code / code
by dafhi
Aug 24, 2024 12:43
Forum: General
Topic: [BUG FBC] Bitfields not properly packed
Replies: 7
Views: 2548

Re: [BUG FBC] Bitfields not properly packed

my bad. so in the first choice change c = 1 to ulongint.

2nd choice demonstrates unsighed workaround . i'll update comments
by dafhi
Aug 24, 2024 11:05
Forum: General
Topic: [BUG FBC] Bitfields not properly packed
Replies: 7
Views: 2548

Re: [BUG FBC] Bitfields not properly packed

i had a hard-to-isolate bug in my bit-aligned r/w. it was solved by using all signed. it would only show up when using 64 bit int here's an illustration, which may relate #define min( a, b) iif( (a)<(b), (a), (b) ) #define max( a, b) iif( (a)>(b), (a), (b) ) dim as longint i 'showcasing corrected ma...
by dafhi
Aug 19, 2024 4:27
Forum: Sources, Examples, Tips and Tricks
Topic: kick-last-place grid search
Replies: 0
Views: 3585

kick-last-place grid search

a unique concept for evading local optima [update: auto range find] /' -- "kick last place" grid search - 2024 Aug 30 by dafhi proving grounds i pulled from a different project: hash offline surface scenario.b() till it closely resembles .a() update: auto range adjust finds GREAT sets quic...
by dafhi
Aug 16, 2024 17:14
Forum: Sources, Examples, Tips and Tricks
Topic: print-friendly max string
Replies: 0
Views: 3673

print-friendly max string

working on other projects i decided to make a big string [update: 192 chars] /' print-friendly max string (hand-built) - 2024 Aug 17 by dafhi i've attempted a 128+ print-friendly string so many times, i thought i would document my process. update: string length 192 previous version i acknowledge tha...
by dafhi
Aug 14, 2024 16:04
Forum: Projects
Topic: wxFBE, editor for both Windows and Linux
Replies: 266
Views: 103997

Re: wxFBE, editor for both Windows and Linux

ran into a serious problem with wxFBE on win10 this morning the problem is unicode, i believe dim as string encoded = "vJC6n¸KH¼µqq¬w%w(¾KZY\¸¶gF­$ySZBP<(-G±s°½6WG>³7s»wC~,y©»r7IqÁ¬_.>}/jqbFMl;1^]iQUl{¿zXK½§B¨TRV¯B*¯F3¤±ÄmgP^p»:v¶½³|«84iP`%¥Åo6¢O]´O¿vwpÀrc`8³w#ªE7S£.sÀM§~${[.°ºvŪS)ZH¿_1YW´­¥´2...
by dafhi
Aug 08, 2024 21:47
Forum: General
Topic: Radon
Replies: 51
Views: 11806

Re: Radon

i guess it's not super useful: [edit] finally spotted my user-select post in my_sharpen(), i don't precisely remember the -3 reason, although i think it involves the convolution target having smaller bounds for ic as long = lbound(coeffs) to ubound(coeffs) - 3 yes, in my efforts i was (am) hoping fo...
by dafhi
Aug 06, 2024 17:21
Forum: General
Topic: Radon
Replies: 51
Views: 11806

Re: Radon

cool! did you try both versions (user select, auto refine) ? i'm working on a hybrid for my image compressor. morphic.ai has been extremely useful [edit: cant find user select on forum, so here it is] /' radon transform with sharpen 1d and "pick fave" 2024 June 29 by dafhi '/ ' -------- de...
by dafhi
Jul 26, 2024 22:56
Forum: General
Topic: CMWC8II
Replies: 43
Views: 7534

Re: CMWC8II

i've mentioned Linear Feedback Shift Register 'rng' xorshift is a LFSR rules - > it's a recurrence relation where i[n] = i[n-1] (no powers) or +1 (constants) you can have 5th order LFSR i[n] = i[n-1] / i[n-2] mod 7 + 3 * i[n-5] once an LFSR outputs a zero, it's game over an LFSR outputs 1 bit at a t...
by dafhi
Jul 26, 2024 17:45
Forum: General
Topic: Integer Math Differences (errors?)
Replies: 2
Views: 2219

Re: Integer Math Differences (errors?)

julin is not declared

but here's one thing i learned

dim as long a = 0.99

Code: Select all

c++ :  0
FB :  1
by dafhi
Jul 24, 2024 8:11
Forum: General
Topic: personal project - new image format
Replies: 14
Views: 5776

Re: personal project - new image format

rebuilding from scratch. getting my improvement-over-time algo working went relatively smoothly. code size is a lot smaller compared to previous attempts