Run the code to make an array of points. Try increasing the size from 3:
Change the size of the grid with a slider:
Include a second grid, rotated by 30 degrees. Try rotating by different amounts—for example, 45 degrees:
Allow the angle to be varied interactively:
Share It—Make an interactive website for exploring moiré patterns: