Skip to content

manish-basargekar/population-by-pixels

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Population by pixels

Image generator and visualizer based on WWF ads made by Japanese designer Mikami Yoshiyuki in 2008. Each pixel represents a single animal, as the population numbers rise and fall the image will either become more legible or disappear completely.

Screenshot

pretty_snap_2022_7_7_10_57

Images created

pretty_snap_2022_7_7_11_12

pretty_snap_2022_7_7_11_7

pretty_snap_2022_7_7_11_13

Getting started

For starting the app in your machine, open the terminal and follow these commands:

git clone the repo

git clone https://github.com/8mn/population-by-pixels.git

cd into working directory

cd population-by-pixels

For starting app:

open index.html in the browser

Access the site on the browser

What it does

  • Helps you to visualize population of endangered and vulnerable species through an image. Each pixel represents a single animal, as the population numbers rise and fall the image will either become more legible or disappear completely.
  • It also has a slider through which you can simulate a population number

How we built it

  • made a p5.js script to represent individual pixel as an animal.
  • population data is used from WWF website

Challenges we ran into

  • This was my first time working with p5.js. After building several rough sketches and looking at hundreds of examples, I built the somewhat satisfactory first version.
  • Making the formula which exactly calculates number of pixels to show according to the population of species
  • Syncing the slider with the changes in image

Accomplishments that we're proud of

  • Building an interactive data visualization

What we learned

  • Working with p5.js
  • visualizing number puts things in perspective
  • Working with individual pixels!

What's next for population by pixel

  • Making and deploying a website so that anyone can view
  • Using data like year to show the progress or decline
  • Adding other animals
  • Making it like a dashboard including all endangered and vulnerable animals with regularly updated data would be cool.
  • I can also add videos of animals for visualizations.

Contact

If you have any questions/suggestion, Contact me

About

Image generator and visualizer . Each pixel represents a single animal, as the population numbers rise and fall the image will either become more legible or disappear completely.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors