Skip to content

dangehub/excalidraw-animate

 
 

Repository files navigation

excalidraw-animate(modified) / excalidraw-animate 修改版

项目介绍

本项目基于 dai-shi/excalidraw-animate 修改,修复/增加了以下特性:

  • 修复了原项目导出svg不支持字体的问题
  • 启用了4号字体(即obsidian-excalidraw的自定义字体选项)
    • 现在您可以通过本项目把obsidian-excalidraw导出的文件转换为动态svg,完美支持各种字体
  • 现在svg导出会嵌入使用字体的子集(即只包含用到在字形),确保离线状态下字体正常渲染的前提下,缩减文件体积,
    • 注:此功能在2.4.1版本被引入obsidian-excalidraw
      • Improved SVG export to include only the necessary glyphs for .woff2 fonts, minimizing file sizes. Note that this feature is currently supported only for .woff2 files; other font formats like .ttf and .otf will be fully embedded, leading to larger SVG files.

后续开发目标

  • 单个元素绘制时,镜头放大,绘制完成后再给全景(以解决目前大画布看不清的问题)

excalidraw-animate

excalidraw-animate

What is this

This is an external tool to convert an Excalidraw drawing into animation.

How to use it

Visit: https://dai-shi.github.io/excalidraw-animate

Using a local file

  1. Save as a file in Excalidraw
Save icon image
  1. Load the file in Excalidraw Animate
Load icon image

Using a shareable link

  1. Create a shareable link in Excalidraw
Shareable link image
  1. Enter the link in the field and click "Animate!"
Text field image

This also works for Excalidraw Library links.

Known issues

  • Exporting WebM feature is not perfect. Please use screen capture if that doesn't work as expected.

Package

It's also provided as a package: https://www.npmjs.com/package/excalidraw-animate

Tweets

Other projects with Excalidraw

About

Based on Excalidraw-animate but support more fonts

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 99.7%
  • Other 0.3%