Search found 1327 matches

by dafhi
Jan 16, 2012 5:04
Forum: Tips and Tricks
Topic: mandelbrot
Replies: 14
Views: 1998

Re: mandelbrot

Nice update
by dafhi
Dec 16, 2011 6:28
Forum: General
Topic: Squares
Replies: 7926
Views: 495251

looks great dodi
by dafhi
Dec 06, 2011 20:51
Forum: Tips and Tricks
Topic: 3D surface plot
Replies: 22
Views: 3231

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&#...
by dafhi
Nov 26, 2011 4:24
Forum: General
Topic: Squares
Replies: 7926
Views: 495251

albert that looks amazing
by dafhi
Nov 23, 2011 13:30
Forum: Tips and Tricks
Topic: Simple lightning bolt algo
Replies: 18
Views: 2575

@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%
by dafhi
Nov 23, 2011 13:15
Forum: General
Topic: Need bilinear filter that scales x and y seperately
Replies: 22
Views: 1394

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&
by dafhi
Nov 22, 2011 14:03
Forum: Tips and Tricks
Topic: Simple lightning bolt algo
Replies: 18
Views: 2575

@attacke

those are some nice-looking bolts
by dafhi
Nov 16, 2011 22:41
Forum: General
Topic: Line Input and hex code 1A
Replies: 5
Views: 1012

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
by dafhi
Nov 16, 2011 18:04
Forum: General
Topic: Line Input and hex code 1A
Replies: 5
Views: 1012

@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 ...
by dafhi
Nov 16, 2011 4:52
Forum: General
Topic: Line Input and hex code 1A
Replies: 5
Views: 1012

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.
by dafhi
Nov 15, 2011 20:38
Forum: General
Topic: Squares
Replies: 7926
Views: 495251

@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.

[EDIT] had a look. Loving the elegance of your snippets.
by dafhi
Nov 15, 2011 1:17
Forum: General
Topic: Squares
Replies: 7926
Views: 495251

@dodicat I had a neat idea. I'm creating text databases for a game thing, like so: +------------------+-------------+-------- | | | | Base | | | +-------- | | | | | | | | | | | | | | | | | | | | | Name | Cool | Mana | Cast | +------------------+-------------+------- | Firebolt | | 50 | 8 | +--------...
by dafhi
Oct 29, 2011 9:06
Forum: General
Topic: Squares
Replies: 7926
Views: 495251

@Richard

Fun read. It feels about the same for me. Probably not as in-depth and well-thought out as what you've got, but stuff I'm proud of nonetheless.
by dafhi
Oct 22, 2011 2:55
Forum: Tips and Tricks
Topic: mandelbrot
Replies: 14
Views: 1998

Thanks doder
by dafhi
Oct 20, 2011 1:26
Forum: Tips and Tricks
Topic: mandelbrot
Replies: 14
Views: 1998

mandelbrot

Smooth color mandelbrot with color cycling. Lets you save a .bmp twice as big as viewport. Note: alpha channel with .bmp only visible in a handful of editors / viewers. - UPDATES - Jan 23 - code clarifications and general improvement Jan 17 - A quick update to improve visibility during initial calcu...

Go to advanced search