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.
158d24eed98ca3d689a9edc0d40537ee98b07a13
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
