heavyimage / script-location-visualizer

Visualize characters' locations thoughout a script

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Script Location Visualizer

Extremely rough code sketch for visualizing characters' locations as they pass through a narrative.

Concept

Inspired by Randall Munroe's Movie Narrative Charts I wondered if I could automatically generate similar diagrams by parsing freely available scripts.

In particular I was inspired by Seinfeld scripts since where characters are (and how/when they come together) seemed like the basis of its humor.

Script parsing based on Adrien Luxey's Da Fonky Movie Script Parser

How to Use

  • download a script into scripts/
  • update global variables at the top of script.py
  • run the code
  • save the graphics

TODO

  • collapse spans if neighboring place is the same (commercial break?)
  • mode to save renders directly
  • Batch process multiple scripts
  • nicer drawing
    • less cluttered
    • more handdrawn / artsy ala Munroe
  • clear up bogus scenes:
    • inserts(?)
    • remove scenes with no characters
  • try to pull out / trace objects?

About

Visualize characters' locations thoughout a script


Languages

Language:Python 100.0%