creating hexagon patterns using this algorithm
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (0)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!