Re: Gen patch-a-day

A few weeks ago, Cycling '74's Wes Smith posted a patch on the forums after someone inquired about how to make an array of hexagons. Cool patch! What I've been finding is that a great way to learn Gen is to take some existing bit of code and try to see how it would be put together in Gen-land. Besides helping my Gen chops, it also gives me a better understanding of the underlying concepts involved.

This fairly simple patch uses jit.gen to create the necessary positioning matrix for the always classy jit.gl.gridshape->jit.gl.multiple combo. The next step for me is to figure out interesting ways to position the geometry in 3D space.

Enjoy!

-Ben

[attachment=186576,3436]

Attachments:
  1. tiles.jpg
Feb 27, 2012 at 8:14pm #218996