Processing code for creating a snowflake with grids