Added january 1

This commit is contained in:
Mike Lynch 2026-01-01 21:28:15 +11:00
commit 86e4dac5f9
2 changed files with 1127 additions and 0 deletions

25
genuary01.py Executable file
View File

@ -0,0 +1,25 @@
#!/usr/bin/env python
import random
print('<svg width="400" height="400" xmlns="http://www.w3.org/2000/svg">')
for x in range(10):
for y in range(10):
cx = 20 + x * 40
cy = 20 + y * 40
p = random.randint(1, 10)
print(f'<circle cx="{cx}" cy="{cy}" r="5" style="fill:red;">')
anim = f"""
<animate
attributeName="r"
begin="0s"
dur="{p}s"
from="0"
to="40"
repeatCount="indefinite" />
</circle>
"""
print(anim)
print("</svg>")

1102
genuary01.svg Normal file

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 20 KiB