grok-icon-study README

The project's README from github.com/blessonism/grok-icon-study. As one markdown file: README.md.

Grok Bot 角色复刻(仅供学习参考)

素材归 xAI / 相应权利人所有。
本仓库仅供学习参考,请勿商用或再分发。

这是对 Grok Bot.app v0.18.0 登录页角色动效的学习复刻,用于研究状态机、弹簧动画、多边形眼睛等实现。

打开

浏览器打开 replica/index.html。

登录页原参数:sizePx: 64、color: "black"、shape: "blob"。
pjn(n) = n%2===0 ? idle : cSe[(n-1)/2],间隔 1200ms。
playground 有意从 curious 起播;点「登录轮换」才按 pjn(0)=idle 重来。大预览默认开指针跟随,源码默认关。

项目结构

路径 内容
replica/index.html L1 舞台
replica/src/ 拆开的引擎:character / pose / tricks / eyes / fx / math / tables
replica/geometry-data.js u3 25 眼、Jo 18 身形、snt 11 色
replica/grok-blob-idle.svg 静态 blob + idle u3[0]
extracted/ 从主包抽出的学习参考片段
extract-asar.js 解包辅助脚本(按需使用)
assets/icon.iconset/、assets/app-icon-256.png Dock / 应用内静态商标(不是角色引擎)

免责声明

grok-icon-study (blessonism/grok-icon-study)

Searching Database…

What is this?An unofficial study replica of the character animation on the Grok Bot.app v0.18.0 login page — a spring-driven character engine rebuilt for learning how its state machine, spring motion and polygon eyes work.
Is it an app I install, or something I open in a browser?Not an installable app — a static web page of plain HTML and JavaScript. The engine is split into study modules under replica/src/: character, pose, tricks, eyes, fx, math, tables.
How do I run it?Open replica/index.html in any browser. That is the entire setup — nothing to build, install or configure.
Do I need Node, npm or any other tooling first?No. The repo has zero package dependencies and no build step; the page runs as plain HTML and JavaScript straight from the file.
Can I use the character or its assets in my own projects?No. The character design, trademarks, icons, geometry data and everything extracted from the app package belong to xAI — commercial use and redistribution are explicitly forbidden.
What settings did the original login-page character use?The login page used sizePx: 64, color 'black' and shape 'blob'. The playground starts from the curious pose by design, and the login-rotation button replays the cycle from idle with poses changing every 1200ms.
How many different looks does the character have?geometry-data.js defines 25 eye shapes (u3), 18 body shapes (Jo) and 11 colors (snt), covering the full range of expressions the original shows.
What is in the repo besides the live replica?The extracted/ folder holds study snippets pulled from the main app package, extract-asar.js unpacks the bundle on demand, and assets/ has the static dock and in-app icons — trademarks, not part of the engine.
Does the character follow my cursor?In the large preview, yes — pointer following is on by default there, but the source code itself defaults it to off.
Creator
blessonism
Size
1.9 MB
Stars
367
Updated
CommitAug 16
Age
2mo
Commits · 90 Days