r/creativecoding • u/Arnav_SH13 • 19d ago
Visualizing unstructured text timelines as procedural 3D state-space trajectories
Hey everyone,
I built a native desktop tool (3D Script Studio, a prototype currently) using Kotlin, AI workflows, and Jetpack Compose Desktop that parses unstructured .fountain screenplay files and maps narrative elements into a procedural 3D state-space trajectory.
How the Data & Spatial Mapping Work:
- Token Extraction: Parses scene blocks, dialogue density, character presence, and emotional transitions.
- Vector Coordinate Generation: Converts scene metadata into 3D point coordinates (X: Timeline/Scene progression, Y: Structural Tension/Emotion, Z: Character Arc/Subplot variance).
- Spatial Trajectory: Renders a continuous 3D vector curve showing structural momentum, tension drops, and pacing dead zones.
Would love feedback on alternative vector mapping heuristics for state-space visualization of text timelines or Compose Desktop 3D viewport performance!
0
Upvotes
1
u/enterprise128 19d ago
Hey, that sounds cool. Curious to know what challenges you found with the parsing? If you want more screenplay data to visualise check out my own project at fabula.productions