## Search found 1331 matches

Jan 30, 2012 21:04
Forum: Tips and Tricks
Topic: Dynamic arrays in UDTs (once again)
Replies: 15
Views: 4241

### Re: Dynamic arrays in UDTs (once again)

Very nice.
Jan 30, 2012 3:38
Forum: Tips and Tricks
Topic: accurate alpha blend
Replies: 4
Views: 873

### accurate alpha blend

' ---------------------------------- ' ' accurate alpha blend demo ' ' by cRex ' ' ---------------------------------- ' ' - Overview - 'Many internal alpha blending functions sacrifice quality for speed. 'Blending artifacts emerge because r,g,b get multiplied by an alpha 'ranging from 0 to 255, and...
Jan 29, 2012 2:43
Forum: Tips and Tricks
Topic: terminal velocity
Replies: 5
Views: 1093

### terminal velocity

[2017 Sep 17] - accurate, framerate-independent #ifndef pi const TwoPi = 8*atn(1) const Pi = 4*atn(1) #EndIf type float as single type v3 as float x,y,z declare function rndf as v3 declare sub rand End Type sub v3.rand y=2*(rnd-.5): var r=sqr(1-y*y) z=rnd*twopi: x=r*cos(z): z=r*sin(z) End Sub functi...
Jan 17, 2012 10:26
Forum: Tips and Tricks
Topic: mandelbrot
Replies: 14
Views: 2039

### Re: mandelbrot

Thanks for your input! It has been updated :)
Jan 16, 2012 5:04
Forum: Tips and Tricks
Topic: mandelbrot
Replies: 14
Views: 2039

### Re: mandelbrot

Nice update
Dec 16, 2011 6:28
Forum: General
Topic: Squares
Replies: 8041
Views: 508603
looks great dodi
Dec 06, 2011 20:51
Forum: Tips and Tricks
Topic: 3D surface plot
Replies: 22
Views: 3295
I sometimes see something that needs fixing right after I post. Anyway, here. Neat project. #Macro zInsertionSort() i = 1 For j = 2 To lEnd If zeds(i) > zeds(j) Then sng_swap = zeds(j) uint_swap = cols(j) vect_swap = e(j) k = i zeds(j) = zeds&#...
Nov 26, 2011 4:24
Forum: General
Topic: Squares
Replies: 8041
Views: 508603
albert that looks amazing
Nov 23, 2011 13:30
Forum: Tips and Tricks
Topic: Simple lightning bolt algo
Replies: 18
Views: 2611
@dodicat

There's a sense of impressionism to that. The air crackles, and the humidity is present. It's also up close and personal. You paint the atmosphere well. I live in a desert section of the pacific northwest (usa) where avg humidity is 43%
Nov 23, 2011 13:15
Forum: General
Topic: Need bilinear filter that scales x and y seperately
Replies: 22
Views: 1474
The Int() function is a big hit on the cpu. If you're using it, look at D.J. Peters' source for asm workaround http://www.freebasic.net/forum/viewtopic.php?p=61669&
Nov 22, 2011 14:03
Forum: Tips and Tricks
Topic: Simple lightning bolt algo
Replies: 18
Views: 2611
@attacke

those are some nice-looking bolts
Nov 16, 2011 22:41
Forum: General
Topic: Line Input and hex code 1A
Replies: 5
Views: 1024
the actual painting is meant to be viewed as text.

I am creating databases for a game.
they look like

+---------------------
| Name | Mana | HP

It's difficult to do in a text editor. I've solved the problem though. I just wont use char 1A when painting
Nov 16, 2011 18:04
Forum: General
Topic: Line Input and hex code 1A
Replies: 5
Views: 1024
@jevans I'm developing a paint program of sorts, for text. To test, I filled this portion with random data, formula equal to 14 + Rnd * 50 [][][][][][CR][LF] [][][][][][CR][LF] I doubt I'll be using hex 1A as a value to paint with, but if it came down to it, I'll write my own Line input function. I ...
Nov 16, 2011 4:52
Forum: General
Topic: Line Input and hex code 1A
Replies: 5
Views: 1024

### Line Input and hex code 1A

Thought I'd bring this up as I'm working with file data.

I discovered that when Line Input finds this value, it thinks "End Of File", returns data not including the 1A char, and breaks any EOF loop.
Nov 15, 2011 20:38
Forum: General
Topic: Squares
Replies: 8041
Views: 508603
@dodicat. oops, i meant x2,y2 :)

doesn't surprise me one bit you've already got something like that. I will have a look. project code is expanding rapidly.

I make it sound like I'm the Borg.