hey im new - check my programming

Coders forum. Discuss techniques, swap code snippets, ask for help etc. relating to all forms of software development.
User avatar
triphed
Baa!
Baa!
Posts: 39
Joined: Mon Jun 02, 2003 9:04 am 0
Location: I'M TAKING CONTROL OF THE DRUM MACHINE
Contact:

hey im new - check my programming

Post by triphed »

hey this is my first post here. i'd like to show you what i've been working on for months. you see, i've been making this trippy colourful thingy in a programming language called blitzBASIC. i couldn't wait for unity, so i tried to make something like it myself. you can only randomise it's settings at the moment, but soon there will be a scripting engine that will be used to make visualisations. please download it from here - http://www.geocities.com/triphed2000/infinitrip.zip

k e y s :
F1 - clear screen
F2 - create a random visualisation
F3 - randomise palette shift settings
F12 - take screenshot
Esc - exit program

you will see nothing when you run it. just press F2 to see something and keep pressing it until you see something you like. it will produce some terrible stuff sometimes. vertical sync is not used in this program, so if you see flickering that is why. reply with any problems you experience and i will update the program and zip.
jheeb mashka wert boyno.
User avatar
Elizian
Baaaaaaa!
Baaaaaaa!
Posts: 7071
Joined: Tue Apr 23, 2002 11:20 am 0
Yahoo Messenger: niimaur
Location: SE Northumberland
Contact:

Re: hey im new - check my programming

Post by Elizian »

triphed wrote:hey this is my first post here.
Welcome, triphed, to the :fluffy: fluffiest :fluffy: forum :fluffy: in town :camel:

triphed wrote:i'd like to show you what i've been working on for months. you see, i've been making this trippy colourful thingy in a programming language called blitzBASIC. i couldn't wait for unity, so i tried to make something like it myself.
:sheepyspace: :sheepyspace: Interesting idea ... we shall have to have a look :wink:

triphed wrote:you can only randomise it's settings at the moment, but soon there will be a scripting engine that will be used to make visualisations. please download it from here - http://www.geocities.com/triphed2000/infinitrip.zip

k e y s :
F1 - clear screen
F2 - create a random visualisation
F3 - randomise palette shift settings
F12 - take screenshot
Esc - exit program

you will see nothing when you run it. just press F2 to see something. vertical sync is not used in this program, so if you see flickering that is why. reply with any problems you experience and i will update the program and zip.
:sheepyspace: :sheepyspace: I shall have a play around later.
ASCII a silly question ... get a silly ANSI - Bog
User avatar
triphed
Baa!
Baa!
Posts: 39
Joined: Mon Jun 02, 2003 9:04 am 0
Location: I'M TAKING CONTROL OF THE DRUM MACHINE
Contact:

Post by triphed »

thankyou. :D . i already know mattycarr_uk, but nobody else around here. there's enough of you, though. 20 pages of memberlist!
jheeb mashka wert boyno.
User avatar
Elizian
Baaaaaaa!
Baaaaaaa!
Posts: 7071
Joined: Tue Apr 23, 2002 11:20 am 0
Yahoo Messenger: niimaur
Location: SE Northumberland
Contact:

Post by Elizian »

If you skip through the Programming forum, you will notice that BlitzBasic is almost the language of choice for fluffy coders around here, so brace yourself for plenty of constructive criticism :D
ASCII a silly question ... get a silly ANSI - Bog
User avatar
Dvorak
Baaaaaa!
Baaaaaa!
Posts: 4560
Joined: Wed May 08, 2002 7:37 am 0
Yahoo Messenger: d3dxquaternion
Location: Germany

Post by Dvorak »

:D Welcome triphed :D

Infinitrip works fine on my machine - and it looks great!

Sometimes the range of colors in the palettes is somewhat wide, the contrast between neighbor-fields is very heavy then. But maybe it's simply me, being in a very chilly and soft mood now, and hence perceiving color distances as contrast-rich where they are not...uh, nevermind :oops:

Great job! :D
User avatar
triphed
Baa!
Baa!
Posts: 39
Joined: Mon Jun 02, 2003 9:04 am 0
Location: I'M TAKING CONTROL OF THE DRUM MACHINE
Contact:

Post by triphed »

thanks. i also like to use quickBASIC sometimes, check http://www.geocities.com/triphed2000/BACKTRAX.zip. but i'm not so hot on that language. what kind of stuff can be done in blitzBASIC now? i don't know how far ahead i am in the technical side of things. i don't know whether this is new, but i have made a good-looking filled-vector engine in that language. check http://www.geocities.com/triphed2000/three.zip - the source code. it says 'edd' because that's my name. i got the full version of blitz for free because it came with PCFormat once, and i have been using it for ages now.
jheeb mashka wert boyno.
User avatar
Dr. M
Baaaaaaa!
Baaaaaaa!
Posts: 6368
Joined: Sat Jun 22, 2002 12:44 pm 0
Location: Sitting in a chair in my office - sort of.

Post by Dr. M »

Welcome, triphed, to the fluffiest forums on the Internet :sheep:
User avatar
kroll
Baaa!
Baaa!
Posts: 134
Joined: Fri Jan 24, 2003 6:12 pm 0
Location: Brisbane, Australia

Post by kroll »

Dvorak wrote:Sometimes the range of colors in the palettes is somewhat wide, the contrast between neighbor-fields is very heavy then. But maybe it's simply me, being in a very chilly and soft mood now, and hence perceiving color distances as contrast-rich where they are not...uh, nevermind :oops:
I've just had an idea. Probably it's a really old idea that everyone has known about forever -- but I really don't know because I've never looked into how trippy graphics are produced. Anyway, my idea is that you could do all the colour calculations in a "perceptually uniform" colour space (e.g. HSV, LUV, or LAB) and then convert to RGB for display. That way you could get nice, subtle colour gradations I think.
User avatar
triphed
Baa!
Baa!
Posts: 39
Joined: Mon Jun 02, 2003 9:04 am 0
Location: I'M TAKING CONTROL OF THE DRUM MACHINE
Contact:

Post by triphed »

you get subtle. smooth colours by using sinus formulae. for example :

for x=0 to 319 : for y=0 to 239
color cos(cnt+x)*sin(cnt+y*sin(cnt*2+x*2)),0,0
plot x,y
next : next

and increasing the value of cnt by 1 every frame, adding in other code to set up the screen and keep things going, with double buffering, would produce a glowing red-striped screen.

of course, to speed it up, you would have to use writepixelfast instead of the color and plot things. and you would have to use my colour() function (included in the source code above) to get the colour right with writepixelfast()...

the main effect that powers infinitrip is the visuofeedback effect, as seen in tempest2000 (i think. i've never played it). if you draw a pixel, it will spread all over the screen and wave about. the best way of descibing it is like dripping paint into a sink, but backwards.
jheeb mashka wert boyno.
User avatar
mattycarr_uk
Posts: 8
Joined: Sat Apr 26, 2003 11:25 am 0

hey triphEd

Post by mattycarr_uk »

nice to see that you could make it! :D

(this place is eerily familiar, no? its pretty much the same except without the guy with the chin who goes 'i see' YOU KNOW WHAT I MEAN)
User avatar
strangeloop
Baaa!
Baaa!
Posts: 213
Joined: Sun Dec 08, 2002 2:00 am 0
Location: London
Contact:

Post by strangeloop »

Missed this first time round so glad it got bumped.

Nice proggy triphed and thanks for sharing the little code snippet
User avatar
Dr. M
Baaaaaaa!
Baaaaaaa!
Posts: 6368
Joined: Sat Jun 22, 2002 12:44 pm 0
Location: Sitting in a chair in my office - sort of.

Post by Dr. M »

I downloaded the program yesterday, and it's excellent

Well done triphed! :D
User avatar
Muttley
Sheepie Whore
Sheepie Whore
Posts: 13169
Joined: Thu Apr 25, 2002 12:30 pm 0
XBL Gamertag: Mu77ley
Location: In a maze of twisty passages, all alike.
Contact:

Post by Muttley »

Looks nice. :)

Muttley
Muttley's Blog: Rarely updated, occasionally interesting… maybe
RetroRemakes Framework: Open Source BlitzMax Game Framework
MuttMod: My Open Source BlitzMax Modules
User avatar
Partz
Baaaaa!
Baaaaa!
Posts: 1511
Joined: Tue Apr 23, 2002 8:46 pm 0
Location: Chippenham, Wiltshire

Post by Partz »

I dont seem to be able to get this link to work?
User avatar
triphed
Baa!
Baa!
Posts: 39
Joined: Mon Jun 02, 2003 9:04 am 0
Location: I'M TAKING CONTROL OF THE DRUM MACHINE
Contact:

Post by triphed »

well just go to my website and dowload it (http://www.geocities.com/triphed2000)
jheeb mashka wert boyno.
Post Reply