@ewanleslie – I hope you made some progress on your project.
Here is a past discussion of a beginner generative design project you might find interesting:
I’d also encourage you to look at browse through past work in Processing while thinking about what kind of content mapping you are trying to do.
https://processing.org/exhibition/
…and in particular check out the book “Generative Design”