Clear Filters
Clear Filters

creating hexagon patterns using this algorithm

5 views (last 30 days)
step1: Make a grid size of 512x512 step2: Go to the grid center step3: Form an initial hexagon about the center of the grid and give numbering to each node or vertex of hexagon like (0,1,,2,3,4,6) taking 0 as center step4: Ask the user to enter any of the node like (0 to 6) of the hexagon step5: After reading the entered location in step4 make another hexagon taking user specified location as center and also tell which nodes are new to the current hexagon created with same nodes (0 to 6) or non overlapped nodes.
  2 Comments
sravankumar v
sravankumar v on 31 Aug 2018
i have created hexagon patterns but according to this algorithm iam not able to do it.

Sign in to comment.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!