Hi All.
I have found a nice random Javascript snowflake generator that uses svg elements to generate random snowflake curves.
It is in a html file and is only one line long.
<canvas id=b><svg onload='with(Math)for(I=Y=0;Y++<70;I=random()-1.9&I+1)for(i=12;i--;C=X=>b.getContext`2d`.fillRect(70+X,s*j+c*Y+70,1,1)||X,C(-C((c=cos(a=PI/3*i))*j-(s=sin(a))*Y)))j=i>5&&I'>
I tried to convert to Lazarus using a TBgrabmp, but all I see is dots.
Is it possible to use svg in TBgrabmp to draw the random snowflakes correctly?
Can't seem to work out how to render the curve correctly so that it looks like a snowflake.
Must have something to do with the svg graphics ?