cavin dot name Fractals, Arts, Programming & Rambles

Archives

CSE Php Universe

Embedded page
PHP Universe is a tentative to implement a massively multi-player persistent universe in a futurist landscape of galactic merchants. You can try the game using as name and password demo.
The sourcecode is available on demand, but it is not orderly nor well designed.

Warning: due to some changes in the support of canvas, some graphics may look strange.

Interstellar Economics

Here starts the development of a simulation of interstellar trade. Come in a few year to see if something moved... :-)

The size of the circle is (logarithmically) proportional to the population of the planet and hence the size of the market. The color of the planet indicates its technological level: red, yellow, green, light blue, dark blue, violet in order of increasing tech level.
The colored bars indicate for each goods (one per tech level, marked with a small dot of the appropria…

Jam Simulation

Still in a very early phase. Aim is to see whether traffic jams are an emerging properties of few parameters, or to explain differently, why traffic jams occur when the theoretical capacity of the street is not reached...
It is basically a 2-lane long road (it wraps around: when reaching the right side, it comes out of the left at the next lower position. Vehicles only leave the simulation when reaching the bottom right).

It follows the Swiss traffic laws: overtaking is on the left, …