This repository has been archived on 2026-05-13. You can view files and clone it. You cannot open issues or pull requests or push a commit.
2025-12-04 19:54:13 +08:00
2025-12-04 18:44:37 +08:00
2025-12-04 18:20:07 +08:00
2025-12-04 18:44:37 +08:00
2025-12-03 09:57:17 +08:00
2025-12-04 18:52:39 +08:00
2025-12-04 18:44:37 +08:00
2025-12-04 19:54:13 +08:00
2025-12-04 18:44:37 +08:00

SFDL - Simple Function Draw Language

实现语法:

  • scale is (x, y);
  • origin is (x, y);
  • rot is x;
  • for t from a to b step k draw( t, t );

注意现在还不支持color/size语法

运行方法

得益于本项目使用go语言且无第三方库基本上任何电脑均可编译运行

首先电脑上得装go语言包然后直接在本项目目录运行

go run . your_sfdl_file.sfdl

运行后结果会保存在out.png

也可以先编译本项目再运行:

go build
./sfdl your_sfdl_file.sfdl

当然你也许可以直接下载二进制文件( https://gitea.starryskymeow.cn/xkm/sfdl/releases )

预览:

预览

Description
Simple Function Draw Language
Readme Apache-2.0 44 KiB
main Latest
2025-12-04 11:48:42 +00:00
Languages
Go 100%