Search found 166 matches

by red_Marvin
Mar 12, 2009 1:59
Forum: Tips and Tricks
Topic: Long time no code...
Replies: 8
Views: 1919

Ah, I see. I thought the window manager was supposed to take care of the window location. However, here is a new version that fades between the images, and runs fullscreen at your native resolution, which should take care of any window placement issues :) randomize timer #define evallength 15 #defin...
by red_Marvin
Mar 06, 2009 10:58
Forum: Tips and Tricks
Topic: Long time no code...
Replies: 8
Views: 1919

The center not being in the middle of the screen, is a result of the lines and triangles being scaled and moved to be able to fit on the screen. Thus, if the system's rules dictates that a very long antenna should be evolved to the left, the center of the image will be moved to the right.
by red_Marvin
Mar 04, 2009 0:55
Forum: Tips and Tricks
Topic: Long time no code...
Replies: 8
Views: 1919

Long time no code...

Was a while since I've been here... A nice Lindenmayer system generator/interpreter: A set of basic substitution rules are created, the initial system is evolved based on those rules and the result from the last iteration is interpreted as drawing instructions. Apologies for possibly bad code, I mos...
by red_Marvin
Jul 16, 2007 15:43
Forum: Linux
Topic: Window doesn't close
Replies: 4
Views: 2099

No problem here, ubuntu 7.04 and fbc .18...
by red_Marvin
Jul 15, 2007 22:26
Forum: Linux
Topic: fbc 0.18 trouble in console or terminals
Replies: 7
Views: 3083

Ubuntu 7.04 here, I seem to have no problem in gnome-terminal 2.18.0, or "real" terminal, could it be some odd ~/.bashrc setting?
by red_Marvin
Jul 15, 2007 22:16
Forum: Beginners
Topic: COLOR and RGBA problem
Replies: 11
Views: 1883

Yup &H40:

screenres width, height, bpp, pages, yourflags or &H40
by red_Marvin
Jun 12, 2007 17:57
Forum: Tips and Tricks
Topic: A shattered gradient...
Replies: 0
Views: 1515

A shattered gradient...

Run with -m (0...23) to force a certain color mode -p (0...) to change the default number of "preparation" iterations. Default is 1000, run with -p 0 to see why... -s filename to save a bmp file upon exit. #define TWOPI 2*3.141592654 #define SCREENWIDTH 1024 #define SCREENHEIGHT 768 #define EDGECOUN...
by red_Marvin
May 23, 2007 13:49
Forum: Linux
Topic: A second window
Replies: 6
Views: 2612

X is the core of the graphics functions in linux, if you want to design a gui with forms etc. I'd suggest learning gtk, personally I found it way easier than the win32 api. If you just want to have an extra window to draw on X might be the way to go.
by red_Marvin
May 08, 2007 18:39
Forum: Tips and Tricks
Topic: Decentralized Group Behavior (Emergence) Programming
Replies: 23
Views: 5644

Cool!
Next is to have three kinds chasing a kind and avoiding the another kind and plotting fading traces ;)
by red_Marvin
Apr 10, 2007 15:20
Forum: Beginners
Topic: Fonts
Replies: 6
Views: 1908

As rdc said it is done differently depending on other parts of the program, like where you want the text to appear, and which os you are using. Do you want to display the text inside a freebasic window? (created with SCREEN or SCREENRES) Or are you using something else? like the win32 API, GTK or QT...
by red_Marvin
Apr 01, 2007 12:27
Forum: Projects
Topic: Octree Based 3d Engine
Replies: 36
Views: 9674

Yeah, it runs on 1.6GHz peak, but scales between that and 800MHz automatically depending on load, and didn't scale up when running the demo, so I guess the graphics card takes most of the heat.
by red_Marvin
Mar 31, 2007 11:36
Forum: Projects
Topic: Octree Based 3d Engine
Replies: 36
Views: 9674

cool!

I get about 180fps / 0% cpu usage when running in a window (It won't run in fullscreen, maybe because I have two of them(?))

AMD athlon64 x2 800MHz (It doesn't need to step up to full cpu frequency)
Geforce go7600
by red_Marvin
Feb 11, 2007 12:14
Forum: Beginners
Topic: Is Freebasic a stable language ?
Replies: 14
Views: 5412

It s still under development so there's a fair amount of changes between releases (esp. now with the soon arrival of oop) -you have to consider that, but on the other hand the devs work quite hard and fast to fix eventual bugs and put the bugs in cvs. If you like the syntax and tools the language gi...
by red_Marvin
Feb 05, 2007 19:02
Forum: Projects
Topic: Visual AWK
Replies: 3
Views: 2445

it's a scripting language useful for extracting and format data from texts
by red_Marvin
Jan 29, 2007 22:58
Forum: General
Topic: difference between cvs style TYPE and yet-to-be CLASS?
Replies: 1
Views: 850

difference between cvs style TYPE and yet-to-be CLASS?

If I understand what I've read correctly, fb will in the future (when moving to a gcc backend?) support a class object type, but in what ways will it differ from the stuff that has been added to type? As of now the cvs-type has much of the functionality that in other languages is reserved for their ...

Go to advanced search