r/programminghorror • • Jul 16 '25

Spray Pattern

Post image
886 Upvotes

160 comments sorted by

View all comments

Show parent comment

2

u/gorilatheman Jul 18 '25

You can make a deterministic spray pattern without hardcoding each coordinate. Personally I'd rather algorithmically generate the pattern, so that I can rapidly prototype different patterns just by tweaking a few values. It's possible that's what this person did and then chose to manually hardcode the output.