This repository has been archived by the owner on Feb 26, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
nyan_cat.star
26 lines (22 loc) · 7.71 KB
/
nyan_cat.star
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
load("encoding/base64.star", "base64")
load("render.star", "render")
FRAMES = [
"""iVBORw0KGgoAAAANSUhEUgAAAEAAAAAgCAYAAACinX6EAAABmklEQVRoge2YsW3EMAxFWd4ECeIB0qu5BbLLrZAtUqSSq2yUdYKDgTBFIEBhKH5Zlo8+2MUHjLNo8D9SlM80hAvvWeSdgLf+AWBm96TcACTze4JwdIB3At5yA0BEi7UqgOvzgyn0YCuWiHj6jIvVAwIho70lzfM7z1ZPCK4AigbPo3qtQVgPwMejLWS2EJcAIIO1nbAcADLaWRIAUhp4andkAFoH46YBEBHHGDnG+AeCBCDXdQHwxU+maozmSnEIQF7h3JgGIQGQa2YBQEZbJauSILR2gHyWrPwmAWgQNAClQagZROoGIPDJFAIQ+FSEgDpgOo9N5lsgEDK6VBqEBMA6AiUA5nJHyHubApBDqO2A0gDUftPudQHw8vZtCpnWYhAA7QSYxl/VtH5aOwsAMtpb8lUYDcAcgKyyvL47AGgrlLaBpuZToJToK9liZtOoFiPnQO1f3rWOwCFcmJDRXppTzVt+IHEBkCdc077amiVtXwVAW5x/MJXbAcWXqlVbQSu21fwQjo+iB4BmAPl2uGcdHeCdgLd2D+AHBk69MX7ZEDkAAAAASUVORK5CYII=""",
"""iVBORw0KGgoAAAANSUhEUgAAAEAAAAAgCAYAAACinX6EAAABi0lEQVRoge2YTU4DMQxGveQEIOYA7GfTC3CXXoFbsGCVrrgR16lQJcwCuYqM/zLJyEVk8aSqk1T+XpykLSzrEf8zkF1ANlNAdgHZTAHZBWSTJgAAutlVwOfTvYn3wdZcAMDLR+lmhATwgo6Gh8c3bGakhFQBasDDSXwtSdhPwPuDjRdWmUcCvIDRTugX4AUdDBcQgQ69X93BBGw5HG9eAABgK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zLfP1QAEqWgaTsU+DNXMHSQkgeyQ9gFj71ZSjlNMj6KqyFyRGA2T1vWKmvva1+H2gCgJVSyinKnfUbAFKjFij0gTz7DMB/e4sp3RJvNoDakso0tnSX+pWWflMA/F8C369JTStgzcHvAuARtAHoPYDe+gY9+LYFcwpgwQAAAABJRU5ErkJggg==""",
]
def main():
return render.Root(
child=render.Animation(
children=[render.Image(src=base64.decode(f)) for f in FRAMES]
)
)