This is a online vector graphics editor.
It's still under developing.
For now you can use it to view your sketch design files online.
You can see the demo here
npm i
npm run dev
then visit http://localhost:3000/
Online sketch file editor.
Home Page: https://skeditor.github.io/
This is a online vector graphics editor.
It's still under developing.
For now you can use it to view your sketch design files online.
You can see the demo here
npm i
npm run dev
then visit http://localhost:3000/
图片填充时(filltype = 4) fill 图片是异步加载的
applyImageFill 触发的时候图片还没有加载成功 ,被直接跳出
导致 fill 图片填充渲染失败
全部依赖都装上了, 却还是提示 nuxt 找不到. Any suggestions?
node 18.17.1
npm 9.6.7
skeditor on main [?] via ⬢ v18.17.1
➜
ERROR Cannot start nuxt: Cannot find module 'nuxt'
Require stack:
/Users/lilin/repos/Others/skeditor/index.js
Require stack:
请问下Sketch中轮廓生成的 LayerListExpanded 是什么含义?
shape-view:587行
// TODO line线性渐变渲染有问题
if (gradient.gradientType === SkyGradientType.Linear) {
shader = sk.CanvasKit.Shader.MakeLinearGradient(
fromPoint.toArray(),
toPoint.toArray(),
colors,
stops,
sk.CanvasKit.TileMode.Clamp
);
}
// Todo 渐变
// eclipse 的情况怎么处理
if (gradient.gradientType === SkyGradientType.Radial) {
shader = sk.CanvasKit.Shader.MakeRadialGradient(
fromPoint.toArray(),
fromPoint.distanceTo(toPoint),
colors,
stops,
sk.CanvasKit.TileMode.Clamp
);
}
// 有点问题
if (gradient.gradientType === SkyGradientType.Angular) {
shader = sk.CanvasKit.Shader.MakeSweepGradient(
fromPoint.x,
fromPoint.y,
colors,
stops,
sk.CanvasKit.TileMode.Clamp
);
}
jszip直接解压可以得到图片信息,但是切片都被忽略了,这部分有考虑过怎么处理吗
// 计算 cubic handler 位置
const kappa = (4 / 3) * Math.tan((Math.PI - radian) / 4);
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.