Open NirViaje opened 5 years ago
好哒
other friendly js experimental place
Week 2
Week 3
Week 4
. ..
Week 11
Demo
Reference
Three.js粒子特效,shader渲染初探 | 六、 shader渲染粒子特效
captive
英 [ˈkæptɪv] 美 [ˈkæptɪv]
adj.
被监禁的;被关起来的;被困住的;人身自由受限制的;受控制的;无权选择的
n.
囚徒;俘虏;战俘
所以,手机只要在连上wifi后,就去向互联网发起一次请求(不同的手机有不同的请求地址,比如苹果手机请求的是www.apple.com,而原版的安卓手机请求的是client3.google.com,但是这些请求的网址,不同的手机厂商自己可以通过修改Android的内核进行修改的,不是绝对的,有的手机甚至直接阉割了这个原版安卓的功能,有的则对这个功能进行了限制使用)。如果返回的网页是被重定向过的,也就是HTTP头的状态是30X的,手机就会认为这个wifi需要强制认证,因此会弹出浏览器,重新发起一次请求。这就是手机连上wifi后会自动弹窗的原理。
BSB-build-process-0a580a45005b.mp4.zip BROAD Future_-JZV3zvN1l7k.mp4.zip
Software
Hardware
Misc
所有shadertoy上的程序都有void mainImage( out vec4 fragColor, in vec2 fragCoord )这一行
其中out vec4 fragColor是输出的每个像素点的颜色,in vec2 fragCoord是输入的每个像素点的坐标,就是绘图的坐标位置
这是其他能使用的输入常量的列表,包括绘图区域大小、鼠标位置、播放时间等等
2D例子
烟花
d = floor(e = i*9.1+iTime);
vec2 uv = fragCoord.xy/iResolution.y;
for(float i=1.0; i<9.9; i++) {
for(float d=0.; d<15.;d++)
ShaderToy
Black body spectral density