3
\$\begingroup\$

I'm trying to draw a hexagon grid in my Android application. I don't want to reinvent the wheel here, so I'm looking for some frameworks/libraries or just some basic ideas about how should one do this. Do you have some ideas?

What I found so far:

\$\endgroup\$

1 Answer 1

6
\$\begingroup\$

The math applies to any platform, of course. Since you asked for basic ideas on how to do this: just use the code from the first link you provided. The java code for implementing all the required formulas is present and could be used as-is. Then you have an excellent example of how to tie that class into your existing code. Use the source from the simple java test applet as a guide to help you integrate this into your code.

\$\endgroup\$
0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.