This is a bit of an eclectic blog. I’m a software engineer by trade, so I’ll be posting various articles on programming tips and tricks. I have a 3-D printer, and I like to fiddle with Arduino/Raspberry Pi hobby electronics – so fun projects on those fronts. I’m a big movie fan in general. And I’ll probably drop some short stories or poems every now and then as the mood strikes me. Anyhow, have at it.
Creating a Moiré Pattern with SVG
Have you ever noticed that groovy growing/shrinking pattern on the console of Mr. Spock’s science station on the bridge of the USS Enterprise (and on the communicators, if you look close enough) and wondered, “What is that, and how can I make one?” It’s a cool interference effect called a Moiré pattern! Let’s walk through how to create one using SVG (Scalable Vector Graphics) step-by-step.