This is the repository for this story.
Pharmaceutical companies pay money to doctors and organizations every year. We collect this data on the pharmagelder.ch platform. This data visualization uses this data and creates a universe based on it. At the edges of the universe, there are the pharmaceutical companies (planets). The money recipients are asteroids. Each more money an asteroid has received from a pharmaceutical company, the closer it is to the corresponding planet. Asteroids that have received money from only one company are placed in the orbit of the planet. The size of the planet and the asteroid depends on the amount of money paid or received.
client
: The full source code of the universe. See licensing belowtransformation
: The code with (pre-)calculates the position of each objectsoundtrack
: The full source code of the background music and sound effects
You may use this at your wish with one restriction: The mesh of the lava planet (Novartis) is not free. You need to buy it as well. You will find it here.
Background music and bonus track: Made with sonic pi. You will find the code for the music in the repository
Planet textures made with:
- https://www.texturesforplanets.com/
- https://sites.google.com/site/mapsandsuch/maps-of-fictional-worlds
- https://www.cgtrader.com/3d-models/textures/natural/lava-pbr-seamless-texture
Skybox: https://opengameart.org/content/space-skybox-0
Asteroids inspired by: https://codepen.io/Divyz/pen/VPrZMy
Easter egg by Celinsky
cd client
npm install
Start:
npm run dev
Build:
npm run build