I'm trying to create a large grid with 1,000 entries, similar to what is in this link:
TikZ (finite) grid with character in each cell
I want each entry to be filled with consecutive numbers and set the background colour independently in each one. IS there a quick way to generate this list without inputing each entry manually?



forloops in TikZ/PGF. – TeXnician Feb 07 '17 at 10:45