Hi, I need to create a dart board, with four sections in each number (1-20 in standard dart board numbering), is this possible graphically?
using the b4j dialect of programming language BASIC,
and the B4XPages cross-platform framework,
please write code to draw a circular dartboard,
divided into twenty sectors,
numbered 1 to 20 but in usual dartboard sequence,
shaded alternately in red and green,
with each sector having double and triple zones (rings)
and a bullseye circle in the middle
B4XPath does not have .ArcTo method,
so please change that to approximate an arc using short (~1 degree ) line segments
Please use B4J Iif function instead of VB If function
Lol I had to do a couple of nudges, away from VB towards B4X, and manually add Pane1 in the layout designer, but other than that, I'd call this a pass:
https://x.com/i/grok/share/OqSYpc8eEfH5LztmOgu6Ws9qg
I tried Grok (different question) a moment ago.I find this incredible. Ideally the board should be rotated nine degrees anticlockwise but I am sure that will be a no-brainer for Grok.
a message says it can't answer CURRENTLY!
Of course, B4X only !Did you code this
Sure, i will post tomorrow afternoon, it still needs some time to finish it.and if you did could you share please