Skip to content

Commit

Permalink
更新README
Browse files Browse the repository at this point in the history
  • Loading branch information
planet0104 committed Mar 6, 2022
1 parent 7c33cb2 commit 4675c52
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 12 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -0,0 +1 @@
/.history
20 changes: 8 additions & 12 deletions README.md
Expand Up @@ -2,24 +2,20 @@

GIF动画制作微信小程序

<img src="https://github.com/planet0104/miniprogram-gifmaker/blob/master/code0.jpg" /><img src="https://github.com/planet0104/miniprogram-gifmaker/blob/master/code1.jpg" />
## 目录结构

其中GIF生成的功能是用Rust实现的,目录结构如下:

<b>/ministdweb</b> Rust代码
<b>/gifmaker</b> 生成GIF的Rust库,编译为Webassembly

<b>/program</b> 微信小程序代码

program中的代码可以直接在微信开发工具编译运行,/workers/ministdweb.js是编译好的Rust代码。

<img src="https://github.com/planet0104/miniprogram-gifmaker/blob/master/screenrecorder.gif" />
<img src="https://github.com/planet0104/miniprogram-gifmaker/blob/master/screenshot.jpg" />
<b>/scf-server</b> 图像审查服务器端代码(腾讯云SCF)

## 运行截图

Rust代码使用的第三方库:
<img src="code0.jpg" />

https://crates.io/crates/stdweb
<img src="code1.jpg" />

https://crates.io/crates/gif
<img src="screenrecorder.gif" />

https://crates.io/crates/png
<img src="screenshot.jpg" />
Binary file removed wx_config.jpg
Binary file not shown.

0 comments on commit 4675c52

Please sign in to comment.