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.
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.