Giter VIP home page Giter VIP logo

LeaferJS

绚丽多彩的 HTML5 Canvas 2D 图形渲染引擎, 可结合 AI 绘图、生成界面。能让你拥有瞬间创建 100 万个图形的超强能力,免费开源、易学易用、场景丰富。

运行

LeaferJS 完全依赖于子仓库 leaferleafer-uileafer-drawleafer-in , 提供运行官网示例代码、自定义打包的能力。

复制以下命令并运行:

git clone  https://github.com/leaferjs/LeaferJS.git --recurse-submodules

cd LeaferJS

npm install
npm run start

将在本地创建一个 LeaferJS 项目,并自动下载 leaferleafer-uileafer-drawleafer-in 子仓库代码到 src 目录。

安装启动完成后,可在浏览器中访问:http://localhost:10101

复制 官网 示例代码到 index.ts 中,可以实时查看运行效果。

更新

git pull --recurse-submodules

打包

npm run core # 打包核心代码,环境打包的依赖项

npm run web # 仅打包web环境代码

npm run all # 打包所有环境的代码

npm run dts # 为所有包生成d.ts文件

npm run clear # 清空所有打包内容

License

LeaferJS 是采用 MIT 许可的开源项目,可以永久免费使用。

leaferjs's Projects

draw icon draw

Leafer Draw 是 Leafer UI 的轻量版,体积小巧,移除了交互功能,仅提供绘制元素的功能,适用于绘制海报、插图、播放动画等场景。

in icon in

Leafer IN 是Leafer的官方增强功能插件中心

leaferjs icon leaferjs

绚丽多彩的 HTML5 Canvas 2D 图形渲染引擎, 可结合 AI 绘图、生成界面。能让你拥有瞬间创建 100 万个图形的超强能力,免费开源、易学易用、场景丰富。

leaferx icon leaferx

LeaferX 是 Leafer 的第三方插件与上层应用中心,收录可用于生产环境的优秀插件和应用,并可作为插件开发模版。

ui icon ui

Leafer UI 是基于 Leafer 开发的一套绚丽多彩的 UI 绘图框架,可结合 AI 绘图、生成界面。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.