How to create a cell sheet consisting of hexagonal cells?

3 months ago by
Dear all,
I am trying to create a hexagonal cell sheet, as shown below. Each cell is hexagonal and made up of hexagonal pixels. What should I do?
Many thanks.

cell sheet:

each cell:

Community: CompuCell3D

2 Answers

3 months ago by
I've created an extended example of hexagonal cells on a hexagonal lattice.
Here is a zip file of the CC3D code -- File attached: (7.91 KB)
This uses the blob initializer, which doesn't know about the hex lattice so it will take 10K or more MCS to get the cells to relax into hexagons.

Note that if you want the cells to move then they can not always be perfect hexagons. If you want perfect hexagons then the cells will have to be frozen and wont be able to move.

3 months ago by
You can specify that CC3D should use a hexagonal lattice with;
in the Potts section of the project's XML file.

Also, take a look at the hexagonal lattice demo in;

Finally, for the mathematical details of a hexagonal lattice see;
What should I do if I want to make each cell hexagonal using hexagonal lattice? As shown in the second picture.
written 3 months ago by Yuan  
Please login to add an answer/comment or follow this question.

Similar posts:
Search »