会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
newmiracle宇宙
提供cocoscreator shader pixijs PHP等各种技术分享
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
18
19
20
21
22
23
24
25
26
···
98
下一页
2021年1月25日
threejs 透明贴图的方法
摘要: threejs 透明贴图的方法 function init() { //设置渲染窗口的大小 var canvaswidth=window.innerWidth; var canvasheight=window.innerHeight; renderer = new THREE.WebGLRender
阅读全文
posted @ 2021-01-25 10:06 newmiracle宇宙
阅读(2439)
评论(0)
推荐(0)
2021年1月24日
pixijs CANVAS putImageData 使用方法
摘要: pixijs CANVAS putImageData 使用方法 https://codepen.io/a6965921/pen/vYXwwGg const app = new PIXI.Application({ width: 300, height: 150, forceCanvas: true,
阅读全文
posted @ 2021-01-24 11:28 newmiracle宇宙
阅读(378)
评论(0)
推荐(0)
2021年1月22日
html5 canvas抠图的方法
摘要: html5 canvas抠图的方法 <!DOCTYPE html> <html> <body style="backgournd:#000"> <canvas id="myCanvas" width="300" height="150" style="border:1px solid #d3d3d3
阅读全文
posted @ 2021-01-22 20:45 newmiracle宇宙
阅读(1040)
评论(0)
推荐(0)
2021年1月18日
pixijs shader 设置透明度的方法
摘要: pixijs shader 设置透明度的方法 precision mediump float; varying vec2 vTextureCoord; varying vec4 vColor; uniform sampler2D uSampler; uniform sampler2D noise;
阅读全文
posted @ 2021-01-18 16:21 newmiracle宇宙
阅读(560)
评论(0)
推荐(0)
2021年1月17日
pixijs shader 传入多张图片到片段着色器的方法
摘要: pixijs shader 传入多张图片到片段着色器的方法 <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <title> {$title} </title> <meta content="width=device-w
阅读全文
posted @ 2021-01-17 20:28 newmiracle宇宙
阅读(252)
评论(0)
推荐(0)
2021年1月9日
php curl form-data上传file方法
摘要: php curl form-data上传file方法 <?php class UploadPart { protected static $url; protected static $delimiter; protected static $instance; public function __
阅读全文
posted @ 2021-01-09 19:45 newmiracle宇宙
阅读(2296)
评论(0)
推荐(1)
2021年1月6日
css3png图片渐变动画
摘要: css3png图片渐变动画 <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <title>{$title}</title> <meta name="viewport" content="width=device-wid
阅读全文
posted @ 2021-01-06 21:49 newmiracle宇宙
阅读(383)
评论(0)
推荐(0)
javascript提高首屏加载速度的方法
摘要: js提高首屏加载速度的方法 直接动态加载就行 不要用ansy defer什么的 都是堵塞主线程渲染的
阅读全文
posted @ 2021-01-06 19:26 newmiracle宇宙
阅读(221)
评论(0)
推荐(0)
2020年12月30日
css3图片大小自适应的方法(不采取拉伸)
摘要: css3图片大小自适应的方法(不采取拉伸) width: 100%; height: 100%; overflow: hidden; background-size: cover; background-position: center; 我这里说下 background-size: cover;
阅读全文
posted @ 2020-12-30 19:02 newmiracle宇宙
阅读(2310)
评论(0)
推荐(0)
2020年12月28日
phpredis最简洁的分段加锁
摘要: phpredis最简洁的分段加锁 $kucun = 20; $key = '11'; // 进行分段 if ($kucun <= 5) { $islock = \RedisClient::lock($key, 5); // 不需要分段了 } else { // 设置每段库存为4 $kucunduan
阅读全文
posted @ 2020-12-28 21:50 newmiracle宇宙
阅读(286)
评论(0)
推荐(0)
上一页
1
···
18
19
20
21
22
23
24
25
26
···
98
下一页
公告