repeat-editor:实时编码图形编辑器

时间:2021-07-23 22:14:27
【文件属性】:
文件名称:repeat-editor:实时编码图形编辑器
文件大小:3.22MB
文件格式:ZIP
更新时间:2021-07-23 22:14:27
editor browser canvas graphics live-coding 重复编辑 用于在浏览器中实时编码 图形的编辑器。 例子 要在画布上绘制一些东西,请使用ctx全局上的速记函数或标准画布函数。 按 F1 可获取速记函数列表。 // using shorthand fstyle ( 'orange' ) frect ( 500 , 500 , 100 , 100 ) // using standard ctx . fillStyle ( 'orange' ) ctx . fillRect ( 500 , 500 , 100 , 100 ) 要为每一帧运行代码,请定义一个函数draw(n) 。 将为每一帧调用此函数。 当前帧号作为n传递: fps ( 6 ) fstyle ( 'orange' ) var s = 20 , x = 0 , y = 0 function draw ( n ) { for ( x = 0 ; x < w ; x +=
【文件预览】:
repeat-editor-master
----.gitignore(54B)
----images()
--------screen2.png(498KB)
--------banana.png(1.19MB)
--------castle.png(620KB)
--------cactuar.png(224KB)
--------siliconchip.png(60KB)
--------satellite.png(159KB)
--------comput.png(227KB)
--------doge.png(79KB)
--------room.png(20KB)
--------screen.png(290KB)
----package.json(674B)
----package-lock.json(77KB)
----robots.txt(26B)
----LICENSE(1KB)
----rollup.config.js(865B)
----examples()
--------colors.js(235B)
--------color-smudge.js(589B)
--------auto-agent.js(1KB)
--------hypnotic.js(385B)
--------triangle-native-api.js(295B)
--------numbers.js(292B)
--------ellipse.js(115B)
--------dual-gradient.js(487B)
--------mod-video-stream.js(473B)
--------spinning-boxes.js(310B)
--------htor-tube.js(492B)
--------computer-vision.js(822B)
--------perlin-noise.js(405B)
--------cellular-automata.js(1KB)
--------text.js(218B)
--------line-pattern.js(234B)
--------radial-gradient.js(290B)
--------triangle.js(160B)
--------xor-scorrier.js(213B)
--------colors-rgba.js(245B)
--------images-glitching.js(366B)
--------floating-circles.js(506B)
----scripts()
--------editor.js(4KB)
--------utils.js(1KB)
--------lang.js(7KB)
----index.html(443B)
----help.md(1KB)
----readme.md(2KB)
----index.css(2KB)

网友评论