Search found 1624 matches

by dafhi
Dec 15, 2023 1:33
Forum: Game Dev
Topic: The world needs more tetris
Replies: 6
Views: 995

Re: The world needs more tetris

cool! i noticed 'samegame' in desc .. once i got to playing and saw some blocks disappear, i got it. will def play again :D
by dafhi
Nov 25, 2023 7:04
Forum: Sources, Examples, Tips and Tricks
Topic: Sorting Algorithms
Replies: 12
Views: 1603

Re: Sorting Algorithms

hi neil i only read the thing about 8 bytes, so i'm posting with that in mind '' array sizes 35-ish or less, use insertion_sort type sort_type as ubyte #define direction < #define dot '.z '' uncomment for udt member '' insertion_sort by dafhi sub Insertion_Sort( a() as sort_type, l as long=0, u as l...
by dafhi
Nov 03, 2023 1:49
Forum: General
Topic: Switch Net 4 neural network
Replies: 54
Views: 7210

Re: Switch Net 4 neural network

30 seconds?

[update 2 - cleared 22 lines]
Page 1 is a good starting point. it's performant and not 'too' compilcated
by dafhi
Nov 01, 2023 20:10
Forum: General
Topic: Switch Net 4 neural network
Replies: 54
Views: 7210

Re: Switch Net 4 neural network

doubt it - i haven't looked at any of my versions in what feels like ages.

give me a day or so
by dafhi
Oct 17, 2023 19:05
Forum: General
Topic: Switch Net 4 neural network
Replies: 54
Views: 7210

Re: Switch Net 4 neural network

from a well known alpha-blending technique

[2023 Oct 19] basis

Code: Select all

blue = (blue * [0 to 255]) and &HFF00

with masking for combined Red Blue

Code: Select all

col = ((col and &HFF00FF) * [0 to 255] ) and &HFF00FF00
by dafhi
Oct 12, 2023 21:32
Forum: General
Topic: Switch Net 4 neural network
Replies: 54
Views: 7210

Re: Switch Net 4 neural network

nice! i've begun work on single-threaded parallelization.

also have some tooling ideas to help people interested in graphics
by dafhi
Oct 12, 2023 2:32
Forum: General
Topic: Switch Net 4 neural network
Replies: 54
Views: 7210

Re: Switch Net 4 neural network

the code's messy, and the network functionality is limited. i wouldn't spend too much time on it
by dafhi
Oct 02, 2023 12:12
Forum: General
Topic: Switch Net 4 neural network
Replies: 54
Views: 7210

Re: Switch Net 4 neural network

if you mean the WHT,
i use optional as often as i can, for less text later

SparseNet i linked to earlier with blue white connections.


[edit] - actually, i'm not certain my SparseNet prunes
by dafhi
Oct 02, 2023 1:53
Forum: General
Topic: Switch Net 4 neural network
Replies: 54
Views: 7210

Re: Switch Net 4 neural network

my SparseNet prunes. where do you see 1 and 0?

my time zone is Pacific (same as Los Angeles)
by dafhi
Oct 02, 2023 0:38
Forum: General
Topic: Switch Net 4 neural network
Replies: 54
Views: 7210

Re: Switch Net 4 neural network

whimsical in the sense that i plan to code it later. i've been busy myself
by dafhi
Oct 01, 2023 17:20
Forum: General
Topic: Switch Net 4 neural network
Replies: 54
Views: 7210

Re: Switch Net 4 neural network

i think 3 could be appropriate.

also thinking that hs_pow2_shl could be renamed 'depth'
xwht() is good.

a rash of ideas just an hour ago thinking about 1 to 4 bit neurons and irrational-friendly activation functions, like

0: 0
1: 1
2: e
3: pi

[edit] - i'll use primes
by dafhi
Sep 29, 2023 11:51
Forum: General
Topic: Switch Net 4 neural network
Replies: 54
Views: 7210

Re: Switch Net 4 neural network

i translated SwNet4 because it looked faster. SwitchNet is shorter.

he also recommends it :D
by dafhi
Sep 29, 2023 8:43
Forum: General
Topic: Switch Net 4 neural network
Replies: 54
Views: 7210

Re: Switch Net 4 neural network

if you can think of a more useful name than sh_pow2_shl, feel free to do so.

i'll try to come up with something also
by dafhi
Sep 29, 2023 8:11
Forum: General
Topic: Switch Net 4 neural network
Replies: 54
Views: 7210

Re: Switch Net 4 neural network

nice! GreenInks demo uses 2 WHT subs 1. full 2. partial from the p5js demo they have the same core // Fast Walsh Hadamard Transform function wht(vec) { const n = vec.length; let hs = 1; while (hs < n) { let i = 0; while (i < n) { const j = i + hs; while (i < j) { var a = vec[i]; var b = vec[i + hs];...
by dafhi
Sep 28, 2023 5:01
Forum: General
Topic: critique for my palette
Replies: 0
Views: 1378

critique for my palette

i've been exploring the idea of a 'universal' palette for pixel art, as well as photography any objections to having full brightness blue arrive in last half of 16 colors? [edit] - i have an objection. pal size 4 looks amazing but the others, not so much. '' can view 2 files at once, but only .bmp #...