@hamoid That's...actually amazing.
1. Create a new Calc Spreadsheet in LibreOffice
2. Go to Tools > Macros > Edit Macros
3. On the code editor that opens, paste the code found at https://gist.githubusercontent.com/hamoid/4e7db65411a22881401ae0987582b45e/raw/2c9823ace2978dfe0282b2d30f362672ab09dfa7/generativeSpreadsheet.bas
4. Press the littel Run Basic button found above the code editor.
If you don't like the colors, run it again :)