Skip to content

Samcfuchs/place-viz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

134 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HW5: r/Place Analysis

Amy Liu (al996), Faris Aziz (fsa22), Julia Atkins (jea255), Sam Fuchs (scf73), Massimo Carbone (mc2588)

Data Sources

Canvas images: https://www.kaggle.com/datasets/robikscube/reddit-rplace-2022-history

Comment history: https://www.kaggle.com/datasets/pavellexyr/the-reddit-place-dataset

Pixels from 2017 edition: https://www.kaggle.com/datasets/residentmario/reddit-rplace-history

What is r/Place?

For three days, all reddit users could change the color of one pixel every 5 minutes on a 2000x2000 pixel canvas. The communal character of the reddit platform meant that thousands of users banded together to create large pieces of art--and to destroy them.

Repository set-up

The site itself is hosted in /www. Any site-related assets or scripts should live under that directory.

Pre-processing

The full canvas data totals 5 GB in size, in part because the images are uncompressed in the 32-bit color space. Because there are only 32 colors available for users to place, we should be able to downscale this to a 5-bit color space, which will cut memory usage by a factor of 6 and make our data easier to store and manipulate. Our first step should be to take this compression step and store the images in a matrix format that contains 5-bit values.

  • Pull image data into python (can use matplotlib or similar)
  • Identify unique colors in images
  • Create a dictionary to index these colors to 5-bit numbers
  • Translate images into 5-bit color identifiers
  • Store 5-bit matrices in a static file type

Apr 20 Discussion

  • Parse coordinate references out of reddit comments
    • Attach these to the main viz
  • Heatmap of activity in different areas over time
  • Use Gaussian pyramid to look for patterns at different scales
  • Tightly couple all of these so that state is easy to track

Tasks

Preprocessing

  • Build pixel change map (Massimo)
  • Store compressed matrices in some format (Sam)

Visualization

  • Reverse preprocessing
  • Build framework for main place viz (Julia)

Presentation Notes

  • Consider wiping interaction for Massimo's window thing
  • Link changing heatmaps to the line graph of activity
  • Increase resolution of the heatmap time slider
  • More views into the canvas itself
  • Enable the user to ask more "why" questions
  • Explain some insights in text

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors