爱意满满的作品展示区。
Wxh16144

可用于装扮 GitHub 个人主页的故障效果 api 分享

  •  
  •   Wxh16144 ·
    Wxh16144 · Nov 12, 2024 · 3269 views
    This topic created in 732 days ago, the information mentioned may be changed or developed.

    Click me


    如上,用 api 生成故障效果的 SVG, 直接 markdown 嵌入即可。

    灵感来源 antd 的 CI Preview Preparing... GIF ... 参考: https://user-images.githubusercontent.com/5378891/72351368-2c979e00-371b-11ea-9652-eb4e825d745e.gif

    不过目前还是开发阶段,第一次接触 Nextjs ,代码写的比较粗糙。

    另外也看看大家有没有类似的 api 分享。

    GitHub: https://github.com/Wxh16144/glitch-art

    6 replies  •  2024-11-13 09:04:19 +08:00
    hellodigua
    hellodigua
    Nov 12, 2024
    1
    huiyadanli
    huiyadanli
    Nov 12, 2024
    2
    加上标点符号似乎渲染的图片宽度有问题 https://glitch-art.vercel.app/api/simple?word={Hello%20World!%F0%9F%91%8B}

    挺好看的,已经用上了
    abc1310054026
    abc1310054026
    Nov 12, 2024
    3
    如果可以用 css 实现的话,就可以做动态的了。
    sankooc
    sankooc
    Nov 12, 2024
    4
    很好
    Wxh16144
    Wxh16144
    OP
    Nov 12, 2024
    5
    @abc1310054026 CSS 方案也有的



    不过我不确定有没有其他副作用,所以没去试
    Ironben
    Ironben
    Nov 13, 2024
    6
    效果不错 👍
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1935 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 12:05 · PVG 20:05 · LAX 04:05 · JFK 07:05
    ♥ Do have faith in what you're doing.