Topic: 3D Starfield in 256b (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=28996" title="Pages that link to Topic: 3D Starfield in 256b (Page 1 of 1)" rel="nofollow" >Topic: 3D Starfield in 256b <span class="small">(Page 1 of 1)</span>\

 
poi
Paranoid (IV) Inmate

From: Norway
Insane since: Jun 2002

posted posted 02-25-2007 19:02


3D Starfield in 256b


I know, I know, I should work on a real demo instead, but it's so much fun

Hugh
Paranoid (IV) Inmate

From: Dublin, Ireland
Insane since: Jul 2000

posted posted 02-25-2007 19:23

Great stuff, and it runs so smoothly! You could even use it as a background on a web page. Very impressive.

rukuartic
Bipolar (III) Inmate

From: Underneath a mountain of blankets.
Insane since: Jan 2007

posted posted 02-25-2007 22:54

Definitely brings back memories of win95.

rukuartic@halflght:~/$ whatis life
life: nothing appropriate.

poi
Paranoid (IV) Inmate

From: Norway
Insane since: Jun 2002

posted posted 03-01-2007 09:06

win95 ?! ouch! I'm getting old. I was more thinking about starfields in demos on Atari and Amiga in the mid-late 80's

GRUMBLE
Paranoid (IV) Mad Scientist

From: Omicron Persei 8
Insane since: Oct 2000

posted posted 03-02-2007 22:03

nice!
just to be a smartass: i did a similar thing back when we had those 20lines compos. :P

http://www.embege.com/asylum/starfield.html

poi
Paranoid (IV) Inmate

From: Norway
Insane since: Jun 2002

posted posted 03-13-2007 01:32

w00t! w00t! I got dugg

GRUMBLE: It is not being a smartass to remember people about your nice script. It's nice to have random and bigger stars.

viswow
Obsessive-Compulsive (I) Inmate

From: Beijing@China.
Insane since: Mar 2007

posted posted 03-13-2007 16:58

oh,good job!!!

White Hawk
Maniac (V) Inmate

From: zero divided.
Insane since: May 2004

posted posted 03-14-2007 17:31

Heehee - nothing constructive to add here, but thanks, Poi, for reminding me of the joys of my old 520STFM. I wanna' download Steem now, just for the blast.

(Edited by White Hawk on 03-14-2007 17:32)

kimson
Paranoid (IV) Inmate

From: Royal Horsing Ground
Insane since: Jan 2005

posted posted 03-14-2007 17:58

How come it seems the stars go faster when you don't look straight at it?

______________________________________

The Fat Controller is gonna get you in the end.

WarMage
Maniac (V) Mad Scientist

From: Rochester, New York, USA
Insane since: May 2000

posted posted 03-14-2007 22:15

Kimson, after watching it a while I think I have an answer for you.

When you are focused on the star field, (i.e. looking straight at it) you will tend to focus on individual stars. When you do this you will perceive the motion to be slower because the movement of your eyes is approaching the speed of the object.

A good example of this would be when you look out your car window at the car next to you, and they do not seem to be moving all that fast, even though both of you are traveling at 120kph. The same situation while you are standing on the sidewalk and a car shoots past you at 120kph the car seems to be going pretty damn fast.

When you are looking away two things are happening. The first, you are not following the motion so you are perceiving the actual speed of the elements. The second, which I am hard pushed to explain, comes from multiple elements following similar paths. Since you are not following a single element, you will see only pieces of the movement of many different elements, as such it will look almost like a blur of motion. Even though the individual element is moving at a near constant speed, the multiple elements being tracked as one make it seem faster and more frantic.

Dan
Code Town | Zombie Head

kimson
Paranoid (IV) Inmate

From: Royal Horsing Ground
Insane since: Jan 2005

posted posted 03-15-2007 11:38

Thanks WarMage, it makes sense
poi: I like it too, and I forfot to tell you that I had not been able to watch your former examples for some reason, but now it works!
Nice pieces of work - I assume, as I am not a coder but I can see the file size !

______________________________________

The Fat Controller is gonna get you in the end.

poi
Paranoid (IV) Inmate

From: Norway
Insane since: Jun 2002

posted posted 03-15-2007 14:23

Thanks.

FWIW, removing the fog and the 'branding' plus tweaking a few things brings the file down to 211 bytes.

White Hawk: Make sure to check the "recent" demos on ST, including Fantasia by Dune and Sector One and Virtual Escape by Equinox are really impressive. Oh and Ooma by yours truly

poi
Paranoid (IV) Inmate

From: Norway
Insane since: Jun 2002

posted posted 03-19-2007 20:28

209 bytes

<body id=B text=tan bgColor=0><script>setInterval("m='';c=Math.cos;for(u=65;u;)m+='<p style=position:absolute;top:'+(50+(z=399/(9+(--U+u--&63)))*c(u*9))+'%;left:'+(50+z*c(u))+'%>·';B.innerHTML=m",U=9)</script>



(Edited by poi on 03-19-2007 20:35)

White Hawk
Maniac (V) Inmate

From: zero divided.
Insane since: May 2004

posted posted 03-20-2007 15:32

Now that's impressive! ^

I have an alternative theory for Kimson:

When you are staring directly at the centre of the starfield, as all stars are travelling away from that point in various directions, I would hazard that your brain is attempting to percieve the average velocity of those points. While you are conscious of the motion, the average velocity of those points is essentially near zero - subtract the velocity of one star from a star moving in the opposite direction, for instance. Finally, the starting velocity of each star is low (zero?) at this point. What you get is an impression of 'expansion', rather than 'speed'.

When staring at an area off-centre, the stars in that part of the field are generally moving in the same direction. Now, the average velocity of those stars is definitely a substantial positive number, and the application of acceleration means that any individual star is moving faster in relation to its starting velocity anyway, further enhancing the percieved velocity for the simple fact that their relative velocities increasingly diverge towards the outer edges of the field.

Going further; moving the eye to a point off-screen gives you a clear view only of the nearest stars, all approaching their terminal velocity as they near the edge of the field. All the stars you are immediately conscious-of are travelling fast, and the general impression is of one (lower density) moving field.

Perhaps I'm not explaining this adequately, but it works for me.

____
ZZZZZZZZZZZZZZZZZZzzz.....

Bmud
Bipolar (III) Inmate

From: Raleigh, NC
Insane since: Mar 2001

posted posted 09-17-2007 18:43

This is the real reason: http://www.michaelbach.de/ot/mot_adapt/index.html

[edit]On closer inspection, this is really a very very nice demo and so were a lot of the other entries on that page! Good job![/edit]

Shine and shine. :: [old cell]

(Edited by Bmud on 09-17-2007 19:54)

White Hawk
Maniac (V) Inmate

From: zero divided.
Insane since: May 2004

posted posted 09-19-2007 14:43

Nice example of a wonderful optical illusion there, Bmud - but I'm afraid that it's a completely different phenomenon.

I had a great little proggie once that placed a slowly revolving spiral on one's screen. Having stared at it for a while (30secs or so), anything one looked at would appear to contract/expand (depending upon the direction of rotation) for a few seconds afterward.

The starfield velocity problem is not a motion after-effect. It's more like a 'looming' phenomenon.

mas
Maniac (V) Mad Librarian

From: the space between us
Insane since: Sep 2002

posted posted 09-19-2007 21:50

just realized that you got dugg more than 1500 times! congratulations poi

The Space Between Us | My Blog: lukas.grumet.at

mas
Maniac (V) Mad Librarian

From: the space between us
Insane since: Sep 2002

posted posted 09-19-2007 21:55

btw poi, just wanted to let you know that all your pc demo links dont work for me. they redirect me to ie http://www.pouet.net/prod.php?which=29240
which ends in a 404 .

The Space Between Us | My Blog: lukas.grumet.at

poi
Paranoid (IV) Inmate

From: Norway
Insane since: Jun 2002

posted posted 09-19-2007 22:08

mas: Strange, I just tried and the download link of Asahikawa works. It worked regardless of the browser ( Op9, IE6, FF2, NN4, Lynx ).

[edit] Oh, I guess you're talking about the fact that on my site most of my prods' link their respective sheet on Pouet. I do so to try and get a few thumbs up ... I guess it's more of an annoyance for people unfamiliar with Pouet.net. I'll look into adding direct links. [/edit]

However the host of my group's former site, planet_d.net, is no more. Therefore my group's old prods ( the ones I released in the mid-late 90's ) are mostly unavailable.

... it's been a while since my last prod, I should work on something. Even if that's just a byte-tro.





(Edited by poi on 09-19-2007 22:17)



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu