feat:优化数据

This commit is contained in:
Daniel
2026-04-02 10:53:36 +08:00
parent a5bf2adad9
commit 0304805ce1
44 changed files with 902 additions and 392 deletions

View File

@@ -7,7 +7,8 @@
"views": 11032,
"likes": 192,
"createdAt": "2026-04-02T01:57:49.494Z",
"sourceFormat": "glsl"
"sourceFormat": "glsl",
"thumbnailAt": "2026-04-02T02:38:18.312Z"
},
{
"id": "b08237ae-6fc0-4b06-bfb8-ae0f6a8e1354",
@@ -17,7 +18,8 @@
"views": 3849,
"likes": 532,
"createdAt": "2026-04-02T01:56:37.273Z",
"sourceFormat": "glsl"
"sourceFormat": "glsl",
"thumbnailAt": "2026-04-02T02:38:18.455Z"
},
{
"id": "50d1783d-35ec-4cc1-8d0a-0167bbf3c1e0",
@@ -27,7 +29,8 @@
"views": 5343,
"likes": 361,
"createdAt": "2026-04-02T01:53:17.707Z",
"sourceFormat": "glsl"
"sourceFormat": "glsl",
"thumbnailAt": "2026-04-02T02:38:18.597Z"
},
{
"id": "dd9bfa65-1443-45b5-a83b-d25538b2ddbd",
@@ -37,7 +40,8 @@
"views": 6478,
"likes": 386,
"createdAt": "2026-04-02T01:48:43.430Z",
"sourceFormat": "glsl"
"sourceFormat": "glsl",
"thumbnailAt": "2026-04-02T02:38:18.728Z"
},
{
"id": "d3cc9a0f-0a9b-4094-a4a4-af65b6666b18",
@@ -47,7 +51,8 @@
"views": 7627,
"likes": 65,
"createdAt": "2026-04-02T01:44:54.863Z",
"sourceFormat": "glsl"
"sourceFormat": "glsl",
"thumbnailAt": "2026-04-02T02:38:18.841Z"
},
{
"id": "ff181924-a244-493f-acc4-da5df3c3fbd4",
@@ -57,7 +62,8 @@
"views": 14244,
"likes": 240,
"createdAt": "2026-04-02T01:43:43.091Z",
"sourceFormat": "glsl"
"sourceFormat": "glsl",
"thumbnailAt": "2026-04-02T02:38:18.959Z"
},
{
"id": "02bd9517-38ba-4392-8fa2-e79abc18eded",
@@ -67,7 +73,8 @@
"views": 19672,
"likes": 529,
"createdAt": "2026-04-02T01:40:46.648Z",
"sourceFormat": "glsl"
"sourceFormat": "glsl",
"thumbnailAt": "2026-04-02T02:38:19.076Z"
},
{
"id": "29c5453f-5a8b-4995-a4a7-c8379e2d50e9",
@@ -77,7 +84,8 @@
"views": 16421,
"likes": 420,
"createdAt": "2026-04-02T01:39:56.715Z",
"sourceFormat": "glsl"
"sourceFormat": "glsl",
"thumbnailAt": "2026-04-02T02:38:19.186Z"
},
{
"id": "a8016745-d7ae-4fb3-ada9-0573e9fc213b",
@@ -87,7 +95,8 @@
"views": 22975,
"likes": 583,
"createdAt": "2026-04-02T01:37:37.687Z",
"sourceFormat": "glsl"
"sourceFormat": "glsl",
"thumbnailAt": "2026-04-02T02:38:19.282Z"
},
{
"id": "0d1722d9-c2f6-4d69-8a97-31e5baba1975",
@@ -97,7 +106,8 @@
"views": 24037,
"likes": 83,
"createdAt": "2026-04-02T01:36:38.486Z",
"sourceFormat": "glsl"
"sourceFormat": "glsl",
"thumbnailAt": "2026-04-02T02:38:19.388Z"
},
{
"id": "8d7c51dc-251c-4849-b053-499e55bbc586",
@@ -107,7 +117,8 @@
"views": 14891,
"likes": 667,
"createdAt": "2026-04-02T01:35:16.255Z",
"sourceFormat": "glsl"
"sourceFormat": "glsl",
"thumbnailAt": "2026-04-02T02:38:19.507Z"
},
{
"id": "f12eec79-b870-45c7-a74f-35c2a69d84c2",
@@ -117,7 +128,8 @@
"views": 16201,
"likes": 396,
"createdAt": "2026-04-01T16:06:40.801Z",
"sourceFormat": "glsl"
"sourceFormat": "glsl",
"thumbnailAt": "2026-04-02T02:38:19.627Z"
},
{
"id": "3344f1cc-d547-4df9-9b96-866ab10a10e3",
@@ -127,7 +139,8 @@
"views": 6862,
"likes": 334,
"createdAt": "2026-04-01T16:03:52.234Z",
"sourceFormat": "glsl"
"sourceFormat": "glsl",
"thumbnailAt": "2026-04-02T02:38:19.764Z"
},
{
"id": "bb28628f-5dbc-458a-9681-35904eb94590",
@@ -137,7 +150,8 @@
"views": 23256,
"likes": 84,
"createdAt": "2026-04-01T16:01:12.555Z",
"sourceFormat": "glsl"
"sourceFormat": "glsl",
"thumbnailAt": "2026-04-02T02:38:19.876Z"
},
{
"id": "40cdf4d1-62fb-43fb-9891-3e7d4dc3c641",
@@ -147,7 +161,8 @@
"views": 12044,
"likes": 244,
"createdAt": "2026-04-01T16:00:02.916Z",
"sourceFormat": "glsl"
"sourceFormat": "glsl",
"thumbnailAt": "2026-04-02T02:38:19.973Z"
},
{
"id": "82ac512b-f051-42d1-b3cc-bd2f6d92fdb2",
@@ -157,7 +172,8 @@
"views": 19147,
"likes": 521,
"createdAt": "2026-04-01T15:58:19.514Z",
"sourceFormat": "glsl"
"sourceFormat": "glsl",
"thumbnailAt": "2026-04-02T02:38:20.102Z"
},
{
"id": "e25336ee-9857-47b8-b5da-a87267dc6aad",
@@ -167,7 +183,8 @@
"views": 10493,
"likes": 103,
"createdAt": "2026-04-01T15:57:36.080Z",
"sourceFormat": "glsl"
"sourceFormat": "glsl",
"thumbnailAt": "2026-04-02T02:38:20.246Z"
},
{
"id": "d6942ee2-97be-4d9d-bfaf-c0fde0558de0",
@@ -177,7 +194,8 @@
"views": 19836,
"likes": 476,
"createdAt": "2026-04-01T15:57:05.112Z",
"sourceFormat": "glsl"
"sourceFormat": "glsl",
"thumbnailAt": "2026-04-02T02:38:20.351Z"
},
{
"id": "34548b08-2577-4fd9-b428-7deef9aca610",
@@ -187,7 +205,8 @@
"views": 19599,
"likes": 721,
"createdAt": "2026-04-01T15:56:37.442Z",
"sourceFormat": "glsl"
"sourceFormat": "glsl",
"thumbnailAt": "2026-04-02T02:38:20.470Z"
},
{
"id": "256b1d36-4713-4103-b9d3-8f4e10667288",
@@ -197,7 +216,8 @@
"views": 22519,
"likes": 636,
"createdAt": "2026-04-01T15:56:04.431Z",
"sourceFormat": "glsl"
"sourceFormat": "glsl",
"thumbnailAt": "2026-04-02T02:38:20.590Z"
},
{
"id": "f77eacef-c66d-4a84-b0f5-2044b6a83b5b",
@@ -207,7 +227,8 @@
"views": 7870,
"likes": 161,
"createdAt": "2026-04-01T15:55:32.788Z",
"sourceFormat": "glsl"
"sourceFormat": "glsl",
"thumbnailAt": "2026-04-02T02:38:20.742Z"
},
{
"id": "62d7b82f-a078-4f08-af39-e527ba916a01",
@@ -217,7 +238,8 @@
"views": 13977,
"likes": 658,
"createdAt": "2026-04-01T15:54:30.908Z",
"sourceFormat": "glsl"
"sourceFormat": "glsl",
"thumbnailAt": "2026-04-02T02:38:20.878Z"
},
{
"id": "748ae90a-cc90-4388-ae20-5c18f43c8a4b",
@@ -227,7 +249,8 @@
"views": 18580,
"likes": 63,
"createdAt": "2026-04-01T15:54:03.238Z",
"sourceFormat": "glsl"
"sourceFormat": "glsl",
"thumbnailAt": "2026-04-02T02:38:20.995Z"
},
{
"id": "31f23d44-8403-4a22-bb0f-c8636bd7c447",
@@ -237,7 +260,8 @@
"views": 13711,
"likes": 399,
"createdAt": "2026-04-01T15:53:34.082Z",
"sourceFormat": "glsl"
"sourceFormat": "glsl",
"thumbnailAt": "2026-04-02T02:38:21.103Z"
},
{
"id": "da6767b8-bca1-4c1f-a18d-70767db6d81c",
@@ -247,7 +271,8 @@
"views": 21588,
"likes": 137,
"createdAt": "2026-04-01T15:52:47.322Z",
"sourceFormat": "glsl"
"sourceFormat": "glsl",
"thumbnailAt": "2026-04-02T02:38:21.284Z"
},
{
"id": "3cfa51f8-b1d3-48f2-9f52-9f6fca69b08f",
@@ -257,7 +282,8 @@
"views": 21349,
"likes": 484,
"createdAt": "2026-04-01T15:51:59.158Z",
"sourceFormat": "glsl"
"sourceFormat": "glsl",
"thumbnailAt": "2026-04-02T02:38:21.480Z"
},
{
"id": "ad4ccd5d-4c58-43f1-af72-fda7350bddc7",
@@ -267,7 +293,8 @@
"views": 21822,
"likes": 311,
"createdAt": "2026-04-01T15:35:13.690Z",
"sourceFormat": "glsl"
"sourceFormat": "glsl",
"thumbnailAt": "2026-04-02T02:38:21.592Z"
},
{
"id": "7c9bb8e9-503e-44ce-b5a0-85b9f11dbae3",
@@ -277,7 +304,8 @@
"views": 3108,
"likes": 51,
"createdAt": "2026-04-01T15:34:35.030Z",
"sourceFormat": "glsl"
"sourceFormat": "glsl",
"thumbnailAt": "2026-04-02T02:38:21.704Z"
},
{
"id": "2881c592-2827-413b-8f91-270c2f6f6788",
@@ -287,7 +315,8 @@
"views": 24459,
"likes": 695,
"createdAt": "2026-04-01T15:33:45.538Z",
"sourceFormat": "glsl"
"sourceFormat": "glsl",
"thumbnailAt": "2026-04-02T02:38:21.829Z"
},
{
"id": "cddda4e7-5f78-4c1b-8aaf-5d7e7e0f0a37",
@@ -297,7 +326,8 @@
"views": 12483,
"likes": 705,
"createdAt": "2026-04-01T15:31:53.940Z",
"sourceFormat": "glsl"
"sourceFormat": "glsl",
"thumbnailAt": "2026-04-02T02:38:21.991Z"
},
{
"id": "e1f817dd-627c-419c-a5ce-7dc7a4b05f64",
@@ -307,7 +337,8 @@
"views": 5699,
"likes": 105,
"createdAt": "2026-04-01T15:29:41.289Z",
"sourceFormat": "glsl"
"sourceFormat": "glsl",
"thumbnailAt": "2026-04-02T02:38:22.117Z"
},
{
"id": "07545078-a585-4e2b-b35e-66f75f080bbd",
@@ -318,7 +349,8 @@
"likes": 195,
"createdAt": "2026-04-01T15:25:55.867Z",
"sourceFormat": "glsl",
"updatedAt": "2026-04-01T15:26:50.214Z"
"updatedAt": "2026-04-01T15:26:50.214Z",
"thumbnailAt": "2026-04-02T02:38:22.229Z"
},
{
"id": "d90c5b45-858f-41ca-a826-28ab3444188b",
@@ -329,7 +361,8 @@
"likes": 545,
"createdAt": "2026-04-01T15:24:44.569Z",
"sourceFormat": "glsl",
"updatedAt": "2026-04-01T15:26:50.214Z"
"updatedAt": "2026-04-01T15:26:50.214Z",
"thumbnailAt": "2026-04-02T02:38:22.372Z"
},
{
"id": "a5e23f6d-aa92-4ed1-9cea-4ba04181e3ff",
@@ -340,7 +373,8 @@
"likes": 76,
"createdAt": "2026-04-01T15:24:08.297Z",
"sourceFormat": "glsl",
"updatedAt": "2026-04-01T15:26:50.214Z"
"updatedAt": "2026-04-01T15:26:50.214Z",
"thumbnailAt": "2026-04-02T02:38:22.558Z"
},
{
"id": "ab0cc421-e34d-4244-a540-03f029ec7372",
@@ -351,7 +385,8 @@
"likes": 487,
"createdAt": "2026-04-01T15:17:20.407Z",
"sourceFormat": "glsl",
"updatedAt": "2026-04-01T15:23:17.765Z"
"updatedAt": "2026-04-01T15:23:17.765Z",
"thumbnailAt": "2026-04-02T02:38:22.675Z"
},
{
"id": "d5728c14-a698-4a58-94d7-76a81f97cc99",
@@ -362,7 +397,8 @@
"likes": 171,
"createdAt": "2026-04-01T15:06:25.335Z",
"sourceFormat": "glsl",
"updatedAt": "2026-04-01T15:23:17.766Z"
"updatedAt": "2026-04-01T15:23:17.766Z",
"thumbnailAt": "2026-04-02T02:38:22.798Z"
},
{
"id": "alien-core-ported",
@@ -371,6 +407,7 @@
"views": 9754,
"likes": 256,
"createdAt": "2026-04-01T00:00:00.000Z",
"code": "vec3 paletteAC(float d) {\n return mix(vec3(0.2, 0.7, 0.9), vec3(1.0, 0.0, 1.0), d);\n}\n\nvec2 rotateAC(vec2 p, float a) {\n float c = cos(a);\n float s = sin(a);\n return mat2(c, -s, s, c) * p;\n}\n\nfloat mapAC(vec3 p) {\n for (int i = 0; i < 8; i++) {\n float t = iTime * 0.2;\n p.xz = rotateAC(p.xz, t);\n p.xy = rotateAC(p.xy, t * 1.89);\n p.xz = abs(p.xz) - 0.5;\n }\n return dot(sign(p), p) / 5.0;\n}\n\nvec4 raymarchAC(vec3 ro, vec3 rd) {\n float t = 0.0;\n vec3 col = vec3(0.0);\n float d = 0.0;\n for (int i = 0; i < 64; i++) {\n vec3 p = ro + rd * t;\n d = mapAC(p) * 0.5;\n if (d < 0.02 || d > 100.0) break;\n col += paletteAC(length(p) * 0.1) / (400.0 * d);\n t += d;\n }\n float alpha = 1.0 / (max(d, 0.0001) * 100.0);\n return vec4(col, alpha);\n}\n\nvoid mainImage(out vec4 fragColor, in vec2 fragCoord) {\n vec2 uv = (fragCoord - 0.5 * iResolution.xy) / iResolution.x;\n vec3 ro = vec3(0.0, 0.0, -50.0);\n ro.xz = rotateAC(ro.xz, iTime);\n\n vec3 cf = normalize(-ro);\n vec3 cs = normalize(cross(cf, vec3(0.0, 1.0, 0.0)));\n vec3 cu = normalize(cross(cf, cs));\n vec3 uuv = ro + cf * 3.0 + uv.x * cs + uv.y * cu;\n vec3 rd = normalize(uuv - ro);\n\n fragColor = raymarchAC(ro, rd);\n}"
"code": "vec3 paletteAC(float d) {\n return mix(vec3(0.2, 0.7, 0.9), vec3(1.0, 0.0, 1.0), d);\n}\n\nvec2 rotateAC(vec2 p, float a) {\n float c = cos(a);\n float s = sin(a);\n return mat2(c, -s, s, c) * p;\n}\n\nfloat mapAC(vec3 p) {\n for (int i = 0; i < 8; i++) {\n float t = iTime * 0.2;\n p.xz = rotateAC(p.xz, t);\n p.xy = rotateAC(p.xy, t * 1.89);\n p.xz = abs(p.xz) - 0.5;\n }\n return dot(sign(p), p) / 5.0;\n}\n\nvec4 raymarchAC(vec3 ro, vec3 rd) {\n float t = 0.0;\n vec3 col = vec3(0.0);\n float d = 0.0;\n for (int i = 0; i < 64; i++) {\n vec3 p = ro + rd * t;\n d = mapAC(p) * 0.5;\n if (d < 0.02 || d > 100.0) break;\n col += paletteAC(length(p) * 0.1) / (400.0 * d);\n t += d;\n }\n float alpha = 1.0 / (max(d, 0.0001) * 100.0);\n return vec4(col, alpha);\n}\n\nvoid mainImage(out vec4 fragColor, in vec2 fragCoord) {\n vec2 uv = (fragCoord - 0.5 * iResolution.xy) / iResolution.x;\n vec3 ro = vec3(0.0, 0.0, -50.0);\n ro.xz = rotateAC(ro.xz, iTime);\n\n vec3 cf = normalize(-ro);\n vec3 cs = normalize(cross(cf, vec3(0.0, 1.0, 0.0)));\n vec3 cu = normalize(cross(cf, cs));\n vec3 uuv = ro + cf * 3.0 + uv.x * cs + uv.y * cu;\n vec3 rd = normalize(uuv - ro);\n\n fragColor = raymarchAC(ro, rd);\n}",
"thumbnailAt": "2026-04-02T02:38:22.908Z"
}
]