โ Context
Recenlty we have published an API dedicated to waiting time in our (Post)-offices.
๐ See previous episode of the series.
To put in evidence the potential of that API we created an original P5*js
based artwork datavizualization experience around that API.
In this post you'll discover what we could achieve... and if you like it to run it by yourself.
๐ซ Core real world data display
In our agencies, here is how we display the data to customers :
โจ๏ธ Install artwork
The install process is really straight forward :
First, clone the repo :
git clone https://github.com/opt-nc/generative-art-temps-attente.git
cd generative-art-temps-attente
Then boot the solution :
docker-compose up -d
docker-compose ps
That's it : you can now enjoy the datavisualization.
๐จ Enjoy artworks
Many kind of visualizations have been created. See below to discover them.
๐ Orbit
First the default one.
Notice that rotation speed is based on the waiting time.
firefox http://localhost
๐ Orbit light version
Then a lightest version of the previous one :
firefox http://localhost/orbit.min.html
โน๏ธ Jumpers
In this visualization each ball is a Post-Office, and the higher a ball is bouncing, the higher waiting queue are important.
firefox http://localhost/jumpers.html
๐ณ๏ธ Gravity
Then this one where interactions are driven by gravity and speed.
Notice that each ball's mass is relying on the waiting time :
firefox http://localhost/gravity.html
๐ฟ Live demo
Below a live demo from scratch :
๐ Acknowledgements
All that work would have not been possible without talents and highly engaged team members :
๐ Resources
๐ค Source code
Des projets d'art gรฉnรฉratif web autour des temps d'attente des agences
Art Gรฉnรฉratif (p5.js)
๐ฌ Temps d'attente dans les diffรฉrentes agences de l'OPT NC
Projet autour de la visualisation des donnรฉes recueillies par les diffรฉrentes agences de l'OPT NC.
๐ Tous les dรฉtails sur ce post dรฉdiรฉ.
La visualisation est rรฉalisรฉe grรขce ร la librairie Javascript p5.js
.
Ce projet utilise l'API REST des temps d'attente en agence OPT.nc.
๐ Lancer les visualisations
โ๏ธ Ou localement
git clone https://github.com/opt-nc/generative-art-temps-attente.git
cd generative-art-temps-attente
docker-compose up -d
docker-compose ps
๐ Pour accรฉder aux visualisations
๐ Ressources
๐๏ธ API on RapidAPI.com