Search found 1356 matches

by dafhi
May 09, 2021 6:08
Forum: Tips and Tricks
Topic: weighted summation blending
Replies: 0
Views: 174

weighted summation blending

/' -- weighted average blending - 2021 May 9 - by dafhi intuition: make 'foreground' with iteration (a simple multiplier) more natural looking anti-bonus: slow updates: May 9 - removed ulong associates from types sRGB and rgbi '/ '#include "inc/dsi aadot.bas" '#include "dsi colorspac...
by dafhi
Apr 13, 2021 9:39
Forum: General
Topic: FreeBASIC Programming (or any programming)?
Replies: 5
Views: 410

Re: FreeBASIC Programming (or any programming)?

something like .. function answer(mystr as string) as single #define a val( left( mystr, i+1)) #define b val( right( mystr, len(mystr)-1 - i)) for i as integer = 0 to len(mystr) var c = chr(mystr[i]) select case c case "+": return a+b case "-": return a-b case "/": retu...
by dafhi
Mar 23, 2021 1:24
Forum: General
Topic: Pentacles
Replies: 153
Views: 9547

Re: Pentacles

saw badidea's hex grid a few days ago. nice work!
by dafhi
Mar 15, 2021 3:37
Forum: Projects
Topic: Another neural network experiment
Replies: 5
Views: 487

Re: Another neural network experiment

this stuff's pretty interesting. I pick up things here and there. 2 things I have in mind as I work on my image thing

1. weight randomization (in my NN i never even bothered with backprop) (mostly because i don't get it)
2. importance of a non-linear function. even something as simple as ReLU
by dafhi
Mar 12, 2021 2:22
Forum: General
Topic: personal project - new image format
Replies: 4
Views: 362

Re: personal project - new image format

couldn't have put it better myself :-) well a bit more info .. i have a new dot renderer, i have yet to write its final form, but each dot gets, right now i am seeing a maximum of 6 bytes for an 8k by 8k image. I have a c++ version showcasing the visual quality which is superior to alpha blending in...
by dafhi
Mar 12, 2021 0:28
Forum: General
Topic: personal project - new image format
Replies: 4
Views: 362

Re: personal project - new image format

i'm just sharing my excitement. sussing out "whitepaper" as both source and comments. i'll post code as i go, and the whole thing all at once when i'm done
by dafhi
Mar 11, 2021 19:23
Forum: General
Topic: personal project - new image format
Replies: 4
Views: 362

personal project - new image format

I'm developing a new image format. It's super-savage. And lossy.

I'm storing position data and if array position is odd, using subtractive synthesis. Just a snippet! Super excited, wanted to share. Hope y'all are having fun!
by dafhi
Mar 09, 2021 1:53
Forum: General
Topic: Draw string on buffer mistake, no warning?
Replies: 6
Views: 461

Re: Draw string on buffer mistake, no warning?

wondered if it had to do with optional parameter so i tried
line pImg,(2, 0)-(1,1)

same result
by dafhi
Mar 05, 2021 16:32
Forum: General
Topic: Pi to 1 million
Replies: 5
Views: 436

Re: Pi to 1 million

new Asus G15 .. 0.637 (mpfr)
by dafhi
Feb 25, 2021 8:20
Forum: Tips and Tricks
Topic: sRGB delta map
Replies: 0
Views: 628

sRGB delta map

/' sRGB image pair delta - 2021 Feb 27 - by dafhi envisioned for progressive refinement rendering applications class tImagePair sRGBpair( x, y).col( page_0_or_1 ) delta map .out() with, in rare cases, low granularity. simply uncomment "def best_granularity" before tImagePair for fuller re...
by dafhi
Feb 20, 2021 3:41
Forum: General
Topic: help w/ Quake fast inv sqrt
Replies: 3
Views: 330

Re: help w/ Quake fast inv sqrt

facepalm .. thanks! =)
by dafhi
Feb 20, 2021 1:23
Forum: General
Topic: help w/ Quake fast inv sqrt
Replies: 3
Views: 330

help w/ Quake fast inv sqrt

can i get some help w/ this .. don't know what i'm doing wrong union suspicion_suppressor ' useful for bypassing suspicious ptr warn as any ptr a as byte ptr b as long ptr l as integer ptr i As Single Ptr s as double ptr d End Union dim shared as suspicion_suppressor gp #define sng as single Functio...
by dafhi
Feb 14, 2021 20:37
Forum: Community Discussion
Topic: Shorthand for setter/getter hell
Replies: 3
Views: 291

Re: Shorthand for setter/getter hell

Code: Select all

#define def #define

def uint  as uinteger
def decl  declare
def prop  property
def br    byref

 ...

decl prop top(br Value uint) { LocY = Value }
by dafhi
Feb 13, 2021 1:07
Forum: Tips and Tricks
Topic: The beauty / magic of math (28 examples) Vol. II + Vol. III - V
Replies: 10
Views: 1537

Re: The beauty / magic of math (28 examples) Vol. II

so it was a problem on my end. i tried downloading new fb yesterday to server error .. got it now and it works. hooray for me!
by dafhi
Feb 12, 2021 19:18
Forum: Tips and Tricks
Topic: The beauty / magic of math (28 examples) Vol. II + Vol. III - V
Replies: 10
Views: 1537

Re: The beauty / magic of math (28 examples) Vol. II

cool! quick feedback .. an error with Tunnel2 GDI.. (vol 3)
Variable not declared, SmoothingModeAntiAlias8x4

Go to advanced search