## Search found 1317 matches

Feb 21, 2012 23:30
Forum: Tips and Tricks
Topic: sine fractals
Replies: 6
Views: 1405

### Re: sine fractals

Feb 21 Update
Feb 21, 2012 0:23
Forum: Tips and Tricks
Topic: floor and ceil
Replies: 5
Views: 2604

### Re: floor and ceil

I've been looking for a quick floor func, and just now thought about searching 'floor'. Excellent macros I must say '' 2012 Feb 21 - conversion speed tests by dafhi '' ======================== '' '' Timer Core Begin '' '' '' Type SpeedResult As String info As Double s As Integer Show End Type Dim Sh...
Feb 19, 2012 8:56
Forum: Tips and Tricks
Topic: sine fractals
Replies: 6
Views: 1405

### Re: sine fractals

original Sine Fractals post '' 2012 Feb 21 - sine fractals by dafhi #Include "fbgfx.bi" #Include "vbcompat.bi" #Ifndef TRUE #Define TRUE -1 #EndIf #Ifndef FALSE #Define FALSE 0 #EndIf Dim Shared As Integer SCR_W = 400 Dim Shared As Integer SCR_H = 300 Dim Shared As Integer WidM: ...
Feb 19, 2012 0:52
Forum: Tips and Tricks
Topic: sine fractals
Replies: 6
Views: 1405

### Re: sine fractals

I recently had a look at Ryan Geiss' 3d terrains write-up. Fascinating stuff.
Feb 15, 2012 18:09
Forum: Tips and Tricks
Topic: sine fractals
Replies: 6
Views: 1405

### sine fractals

first version can be found a few posts below [Updates] 2013 Oct 16 - gcc-friendly 2013 Oct 03 (below) - fixed (dfield.bi) UB1D calculation -> [new] UB1D = h * .. [old] UB1D = w * .. dfield.bi '' ---------- dfield.bi ----------- '' '' changes - 2013 Oct 03 - bugfix '' Delta Field morphs by dafhi ' A ...
Feb 15, 2012 16:00
Forum: Community Discussion
Replies: 24
Views: 2273

### Re: Favorite Classic Arcade Game?

Fascinating to read those specs, thanks for posting. Had no idea the resolution was that low. I remember when Super Sprint came out. It was one of several that entered the scene on higher resolution hardware.
Feb 14, 2012 15:35
Forum: Community Discussion
Replies: 24
Views: 2273

### Re: Favorite Classic Arcade Game?

1943
Dragon's Lair
Spy Hunter
Rampage
Xevious
Gauntlet
Stun Runner
Raiden (prolly my fave)
Paperboy
Pole Position
Dig Dug
Elevator Action
Twin Cobra
Strikers 1945
Commando
Feb 12, 2012 7:59
Forum: General
Topic: Squares
Replies: 7679
Views: 475134

### Re: Squares

Odd state of affairs of the software / hardware industry. Seems like if you buy a product, you should be able to use it. That's not the case when manufacturers won't give out foundational specifications. As much as I've ranted about seemingly inefficient modes of commercial products (file fragmentat...
Feb 12, 2012 7:24
Forum: General
Topic: Squares
Replies: 7679
Views: 475134

### Re: Squares

OS creation is on my ToDo list :-)
Feb 12, 2012 5:48
Forum: General
Topic: The Mirage (silly doodle)
Replies: 4
Views: 524

### Re: The Mirage (silly doodle)

Dim Shared As Integer PartCount = 10000 Dim Shared As Single avg_lifetime = 4.5 Dim Shared As Single lifetime_variance = 1 Dim Shared As Const Double pi = 4 * Atn(1) Dim Shared As Const Double TwoPi = 8 * Atn(1) Dim Shared As Const Double piBy2 = 2 * Atn(1) Dim Shared As Const Double piBy4 = 1 * At...
Feb 07, 2012 1:09
Forum: Tips and Tricks
Topic: terminal velocity
Replies: 5
Views: 1062

### Re: terminal velocity sim

Interesting that k seems to represent the density of the surrounding medium, and that you've used e.
It gives a satisfying result.

I hope to be working with sequence sums again soon because I love exploring this stuff
Feb 06, 2012 8:01
Forum: Community Discussion
Topic: Bryce 7 Pro
Replies: 2
Views: 441

### Bryce 7 Pro

is up for grabs "for a limited time". I've used Bryce before, and Pro has some cool features like indirect illumination.

Enjoy :)
Feb 02, 2012 5:31
Forum: Tips and Tricks
Topic: Sort Array
Replies: 62
Views: 11982

### Re: Sort Array

My sort is about 6% faster than this crt qsort, but only up to about 70k elements. Dim As Integer NumElements = 65000 Dim Shared As double mTimeQ,mTimeG,MinLoopTime Dim Shared As String strNum,strDen #include "crt.bi" function compare naked cdecl( byval elem1 as any ptr, _ byval elem2 as a...
Jan 31, 2012 1:46
Forum: General
Topic: Bug in lbound and ubound within sub?
Replies: 4
Views: 321

### Re: Bug in lbound and ubound within sub?

Code: Select all

`sub test(ary() as integer)    print lbound(ary,1),ubound(ary(423545),1)end subdim as integer a(1 to 5)test(a())? LBound(a(23455242),1)Sleep`
Jan 31, 2012 1:19
Forum: Tips and Tricks
Topic: accurate alpha blend
Replies: 4
Views: 840

### Re: accurate alpha blend

hi Dr_D Thanks for sharing your core blend function. Your original uses (255 * delta) Shr 8 which of course is not accurate, but meant for speed. #Include "fbgfx.bi" #Define TRUE -1 #Define FALSE 0 ScreenRes 400, 400, 32,, fb.GFX_ALPHA_PRIMITIVES Const MagicNumber = 256 * 255 + 128 Sub Sho...