Search found 1341 matches

by dafhi
Dec 08, 2020 13:54
Forum: Community Discussion
Topic: Thank you fxm for 10K high quality posts !
Replies: 13
Views: 746

Re: Thank you fxm for 10K high quality posts !

arguably one of the greatest architects of freebasic and the community
by dafhi
Dec 06, 2020 1:05
Forum: Tips and Tricks
Topic: The beauty / magic of math (28 examples) Vol. II
Replies: 6
Views: 566

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

From both the code here and zip file, WOW and Fractal Zoom don't work. zipped exe's work fine. i like: WOW, Binary Field (!), CHOO CHOO, Mountain Journey (!), Saturn 2 (!!), Sierpensky Dance, Ribbon2, Rain drop Mountain Journey reminds me of sub-pixel processing. More there than meets the eye. Binar...
by dafhi
Dec 05, 2020 13:15
Forum: Tips and Tricks
Topic: Palettator
Replies: 4
Views: 264

Re: Palettator

thanks fxm
by dafhi
Dec 05, 2020 8:41
Forum: Projects
Topic: The ultimate FBGFX thread
Replies: 18
Views: 1192

Re: The ultimate FBGFX thread

pset don't do rgba by default. it's fine. i'm just being my clownsome self. really like that example though. modifying to use my aa dot. [update] aadot was a bust. i colorized it though /' The Chaos Game '/ private function rng overload( aMin as double, aMax as double ) as double return( rnd() * ( a...
by dafhi
Dec 05, 2020 7:03
Forum: Projects
Topic: The ultimate FBGFX thread
Replies: 18
Views: 1192

Re: The ultimate FBGFX thread

Mr. doe #include "fbgfx.bi" function init( w as long, h as long, byref t as const string = "" ) as Resolution screenRes( w, h, 32,, fb.gfx_alpha_primitives ) color( rgb( 0, 0, 0 ), rgb( 255, 255, 255 ) ) windowTitle( iif( len( t ), t, "Untitled" ) ) cls() randomize() re...
by dafhi
Dec 05, 2020 6:38
Forum: Tips and Tricks
Topic: Palettator
Replies: 4
Views: 264

Palettator

/' Palettator by dafhi - 2020 Dec 12 A generator for great-looking palettes specifically by the promotion of thin stripes. Palettator also animates by rotating 2 "x"s in horizontal space. - updates increased wave height init (generally better looking) endpoints_delta formula whitespace co...
by dafhi
Nov 21, 2020 23:07
Forum: Game Dev
Topic: Problem with Fog-of-War
Replies: 15
Views: 889

Re: Problem with Fog-of-War

is this what you want? sub tiledelete() dim as integer t = 0 while t <= numoffogtiles if afogtile(t).xplace>=playerx-64 and afogtile(t).xplace<=playerx+8+64 and afogtile(t).yplace>=playery-64 and afogtile(t).yplace<=playery+8+64 then '' fog for this position is no longer needed afogtile(t) = afogtil...
by dafhi
Nov 20, 2020 19:39
Forum: Game Dev
Topic: Problem with Fog-of-War
Replies: 15
Views: 889

Re: Problem with Fog-of-War

how i would do it

swap tile(new visible tile), tile(numoffogtiles)
numof.. -= 1

redim preserve seems unnecessary
by dafhi
Oct 28, 2020 3:30
Forum: Community Discussion
Topic: [solved] Simple math question ?
Replies: 10
Views: 669

Re: [solved] Simple math question ?

Two Minute Papers video
by dafhi
Oct 25, 2020 1:26
Forum: Libraries
Topic: fbsound 1.2 Windows/Linux (sid wav mp3 ogg mod it xm s3m)
Replies: 19
Views: 1041

Re: fbsound 1.2 Windows/Linux (sid wav mp3 ogg mod it xm s3m)

SID playback as expertly as you have done here is to be commended. Busy with my own projects as usual though =)

regards
by dafhi
Sep 19, 2020 13:22
Forum: Tips and Tricks
Topic: depth-of-field aadot
Replies: 3
Views: 323

Re: depth-of-field aadot

in the beginning.

the focus plane animates via sine
by dafhi
Sep 19, 2020 7:32
Forum: Tips and Tricks
Topic: Around the Sphere build 2020-09-22
Replies: 24
Views: 1305

Re: Around the Sphere build 2020-09-17

thanks for the inspiration!

didn't know my depth-of-field dots wanted to be worked on. also been overhauling my 3d system
by dafhi
Sep 19, 2020 7:28
Forum: Tips and Tricks
Topic: depth-of-field aadot
Replies: 3
Views: 323

depth-of-field aadot

- Depth of Field anti-aliased dots - *** Note: if you don't want to save the include, you can 1. comment out #include 2. paste the code instead (defocus dot.bas) have fun! example 1 - basic 3d /' depth of field aadots - 2020 Sep 21 - by dafhi hard-coded "basic" 3d example '/ #include "...
by dafhi
Sep 17, 2020 4:21
Forum: Tips and Tricks
Topic: Around the Sphere build 2020-09-22
Replies: 24
Views: 1305

Re: Around the Sphere build 2020-09-15

updates: removed FL (focal length)
aadot namespace
by dafhi
Sep 15, 2020 23:51
Forum: Tips and Tricks
Topic: Around the Sphere build 2020-09-22
Replies: 24
Views: 1305

Re: Around the Sphere build 2020-09-15

we like dots 'Coded by UEZ build 2020-09-15 'Thanks to dodicat for some funtions I used from his code :-) and Martijn van Iersel for the CreateGradientSphere function. ^^ /' -- modified by dafhi (2020 Sep 16) vec5 -> dotvars col.argb -> col after screenres .. windowtitle .. particles you can adjust:...

Go to advanced search