I was going through the wormhole code and found that for, like ever, we had the effect kind of wrong. There is a part in the code that does calculations and consumes cpu cycles only to output the result with an alpha of 0.0, i.e. completely transparent, i.e. invisible. I fixed that and made a few more changes to that and this is what I have in my test builds now:
The Witchspace Eye
I think it looks kind of mesmerizing and I am considering defaulting to this effect for wormholes. This has the added bonus that it is visibly different to the q-bomb effect, which right now is coded in a very similar way.
Windows test executable available for a few days here if you want to experience it for yourself: https://we.tl/t-KCADD62Yry
I think I prefer this one... Not because it's less subtle but because it makes the edge of the circle less obvious (and therfore less obvious it's a flat circle).
The wormholes in Oolite are definitely not black holes. They are soft sci-fi phenomena created by spaceships and powered by intense handwavium, therefore any cool looking effect is sufficient.
Are the colours loaded from planetinfo, so anyone can experiment? Are the colours changeable from JS, so they can be changed at any time?
I'm imagining an effect that starts an intense violet colour, changes several times through the colours of the rainbow until it reaches red, then goes to a very dim, dark red before finally disappearing.
Are the colours loaded from planetinfo, so anyone can experiment? Are the colours changeable from JS, so they can be changed at any time?
I'm imagining an effect that starts an intense violet colour, changes several times through the colours of the rainbow until it reaches red, then goes to a very dim, dark red before finally disappearing.
No, at the moment the color is hardcoded and not changeable neither from planetinfo nor from JS.
This of course could change in the future. It's not entirely straightforward, but should be doable.
Note that the latest revision of the effect is not on github yet.
The github pages say things like "Enhanced the wormhole effect. Also typo fix." and "Brightened up and further enhanced the appearance of the wormhole eff…", which might (did) lead one to think that the wormhole fluffing was effected on the github releases.