This Flag of Canada is generated dynamically using Google Chart API's Radar Chart. It's not perfect, you can see there are two thin red line above and below the maple leaf and the leaf may not be in perfect shape as it should be.
The following is the source:
cht=lxy chs=600x300 chma=150,150,0,0 chf=bg,s,FF0000|c,s,FFFFFF chco=FF0000 chm=B,FF0000,0,0 chd=t:50,57,58,59,64,61,62,63,72,74,75,85,82,83,87,69,68,68,70,52,51,51.5,48.5,51.5,48,30,32,32,31,13,17,18,15,25,26,28,37,38,39,36,41,42,43,50 90,77,76,76,80,59,58,58,68,62,62,64,51,50,49,33,32,31,26,27,26,7,7,26,27,26,31,32,33,49,50,51,64,62,62,68,58,58,59,80,76,76,77,90
The background is made with chf (Background and chart area fills) and added with margin, so the white background can be centered. I traced the maple by hand for the position of each turning point.
I was planning to make a USA flag, but I encountered a problem after added six stars using Dynamic Markers. There are 44 more stars, but Chart API refused to give me more stars.
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.