How to create a cell sheet consisting of hexagonal cells?


62
views
0
12 weeks ago by
Yuan  
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


2
11 weeks 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: Hexcells2b.zip (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.


0
11 weeks ago by
You can specify that CC3D should use a hexagonal lattice with;
  <LatticeType>Hexagonal</LatticeType>
in the Potts section of the project's XML file.

Also, take a look at the hexagonal lattice demo in;
   C:\CompuCell3D\Demos\SimulationSettings\HexLattice

Finally, for the mathematical details of a hexagonal lattice see;
   http://www.compucell3d.org/BinDoc/cc3d_binaries/Manuals/HexagonalLattice.pdf
What should I do if I want to make each cell hexagonal using hexagonal lattice? As shown in the second picture.
written 11 weeks ago by Yuan  
Please login to add an answer/comment or follow this question.

Similar posts:
Search »