当前位置: 首页 > news >正文

公司制作个网站短视频获客系统

公司制作个网站,短视频获客系统,怎样使wordpress网站文章左对齐,湘潭找个人做网站的大家好!我是 [数擎 AI],一位热爱探索新技术的前端开发者,在这里分享前端和 Web3D、AI 技术的干货与实战经验。如果你对技术有热情,欢迎关注我的文章,我们一起成长、进步! 开发领域:前端开发 | A…

大家好!我是 [数擎 AI],一位热爱探索新技术的前端开发者,在这里分享前端和 Web3D、AI 技术的干货与实战经验。如果你对技术有热情,欢迎关注我的文章,我们一起成长、进步!
开发领域:前端开发 | AI 应用 | Web3D | 元宇宙
技术栈:JavaScript、React、ThreeJs、WebGL、Go
经验经验:6 年+ 前端开发经验,专注于图形渲染和 AI 技术
经验经验:演示地址
开源项目:智简未来、晓智元宇宙、数字孪生引擎 、源码地址

演示地址: https://shader.shuqin.cc/lscczl
源码地址: https://github.com/dezhizhang/shadertoy

代码实现

import * as THREE from 'three';// Vertex Shader
const vertexShader = `
varying vec2 vUv;void main() {vUv = uv;gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0);
}
`;// Fragment Shader
const fragmentShader = `
#define S(a, b, t) smoothstep(a, b, t)
#define NUM_LAYERS 4.uniform vec3 iResolution;
uniform vec2 iMouse;
uniform float iTime;float N21(vec2 p) {vec3 a = fract(vec3(p.xyx) * vec3(213.897, 653.453, 253.098));a += dot(a, a.yzx + 79.76);return fract((a.x + a.y) * a.z);
}vec2 GetPos(vec2 id, vec2 offs, float t) {float n = N21(id+offs);float n1 = fract(n*10.);float n2 = fract(n*100.);float a = t+n;return offs + vec2(sin(a*n1), cos(a*n2))*.4;
}float df_line(in vec2 a, in vec2 b, in vec2 p) {vec2 pa = p - a, ba = b - a;float h = clamp(dot(pa,ba) / dot(ba,ba), 0., 1.);    return length(pa - ba * h);
}float line(vec2 a, vec2 b, vec2 uv) {float r1 = .04;float r2 = .01;float d = df_line(a, b, uv);float d2 = length(a-b);float fade = S(1.5, .5, d2);fade += S(.05, .02, abs(d2-.75));return S(r1, r2, d)*fade;
}float NetLayer(vec2 st, float n, float t) {vec2 id = floor(st)+n;st = fract(st)-.5;vec2 p[9];int i=0;for(float y=-1.; y<=1.; y++) {for(float x=-1.; x<=1.; x++) {p[i++] = GetPos(id, vec2(x,y), t);}}float m = 0.;float sparkle = 0.;for(int i=0; i<9; i++) {m += line(p[4], p[i], st);float d = length(st-p[i]);float s = (.005/(d*d));s *= S(1., .7, d);float pulse = sin((fract(p[i].x)+fract(p[i].y)+t)*5.)*.4+.6;pulse = pow(pulse, 20.);s *= pulse;sparkle += s;}m += line(p[1], p[3], st);m += line(p[1], p[5], st);m += line(p[7], p[5], st);m += line(p[7], p[3], st);float sPhase = (sin(t+n)+sin(t*.1))*.25+.5;sPhase += pow(sin(t*.1)*.5+.5, 50.)*5.;m += sparkle*sPhase;return m;
}void main() {vec2 fragCoord = gl_FragCoord.xy;vec2 uv = (fragCoord - iResolution.xy * 0.5) / iResolution.y;vec2 M = iMouse.xy / iResolution.xy - 0.5;float t = iTime * 0.1;float s = sin(t);float c = cos(t);mat2 rot = mat2(c, -s, s, c);vec2 st = uv * rot;  M *= rot * 2.0;float m = 0.0;for(float i = 0.0; i < 1.0; i += 1.0 / NUM_LAYERS) {float z = fract(t + i);float size = mix(15.0, 1.0, z);float fade = S(0.0, 0.6, z) * S(1.0, 0.8, z);m += fade * NetLayer(st * size - M * z, i, iTime);}vec3 baseCol = vec3(s, cos(t * 0.4), -sin(t * 0.24)) * 0.4 + 0.6;vec3 col = baseCol * m;gl_FragColor = vec4(col, 1.0);
}
`;// Three.js Scene
const scene = new THREE.Scene();
const camera = new THREE.PerspectiveCamera(75, window.innerWidth / window.innerHeight, 0.1, 1000);
camera.position.z = 2;const renderer = new THREE.WebGLRenderer();
renderer.setSize(window.innerWidth, window.innerHeight);
document.body.appendChild(renderer.domElement);const uniforms = {iTime: { value: 0 },iResolution: { value: new THREE.Vector3(window.innerWidth, window.innerHeight, 1) },iMouse: { value: new THREE.Vector2() }
};const material = new THREE.ShaderMaterial({vertexShader,fragmentShader,uniforms
});const plane = new THREE.Mesh(new THREE.PlaneGeometry(window.innerWidth, window.innerHeight), material);
scene.add(plane);// Animation Loop
function animate() {uniforms.iTime.value += 0.05;renderer.render(scene, camera);requestAnimationFrame(animate);
}// Handle Resize
window.addEventListener('resize', () => {renderer.setSize(window.innerWidth, window.innerHeight);camera.aspect = window.innerWidth / window.innerHeight;camera.updateProjectionMatrix();uniforms.iResolution.value.set(window.innerWidth, window.innerHeight, 1);
});// Handle Mouse
window.addEventListener('mousemove', (event) => {uniforms.iMouse.value.set(event.clientX, event.clientY);
});animate();

在这里插入图片描述


文章转载自:
http://velamina.jftL.cn
http://lemonade.jftL.cn
http://contrefilet.jftL.cn
http://memo.jftL.cn
http://naker.jftL.cn
http://remindful.jftL.cn
http://shaggy.jftL.cn
http://anchormanese.jftL.cn
http://mocha.jftL.cn
http://resultless.jftL.cn
http://rut.jftL.cn
http://lykewake.jftL.cn
http://gastriloquism.jftL.cn
http://irresistibly.jftL.cn
http://bacterin.jftL.cn
http://military.jftL.cn
http://faugh.jftL.cn
http://deuteranopia.jftL.cn
http://otter.jftL.cn
http://closefitting.jftL.cn
http://diallage.jftL.cn
http://sausage.jftL.cn
http://stock.jftL.cn
http://nonpartizan.jftL.cn
http://ridgebeam.jftL.cn
http://synchroscope.jftL.cn
http://jippo.jftL.cn
http://valuative.jftL.cn
http://esophagoscope.jftL.cn
http://automorphism.jftL.cn
http://suctorial.jftL.cn
http://fibbery.jftL.cn
http://fax.jftL.cn
http://appertaining.jftL.cn
http://potentiostatic.jftL.cn
http://agamete.jftL.cn
http://partisanship.jftL.cn
http://limeworks.jftL.cn
http://middorsal.jftL.cn
http://heterosexual.jftL.cn
http://kinshasa.jftL.cn
http://directory.jftL.cn
http://ciseleur.jftL.cn
http://incurve.jftL.cn
http://listed.jftL.cn
http://sternway.jftL.cn
http://aspect.jftL.cn
http://oliguria.jftL.cn
http://chokeberry.jftL.cn
http://sherry.jftL.cn
http://arytenoidal.jftL.cn
http://monoxide.jftL.cn
http://phanerogam.jftL.cn
http://pegmatite.jftL.cn
http://incorporable.jftL.cn
http://aught.jftL.cn
http://sublime.jftL.cn
http://occupational.jftL.cn
http://esquisseesquisse.jftL.cn
http://harassed.jftL.cn
http://grind.jftL.cn
http://skimo.jftL.cn
http://aral.jftL.cn
http://griminess.jftL.cn
http://pharyngitis.jftL.cn
http://capricornus.jftL.cn
http://nonreturnable.jftL.cn
http://cosmea.jftL.cn
http://pakistani.jftL.cn
http://regionally.jftL.cn
http://oedipus.jftL.cn
http://twig.jftL.cn
http://mere.jftL.cn
http://listeriosis.jftL.cn
http://intending.jftL.cn
http://hazzan.jftL.cn
http://speedy.jftL.cn
http://parametric.jftL.cn
http://intimist.jftL.cn
http://sinful.jftL.cn
http://apyrous.jftL.cn
http://maronite.jftL.cn
http://manipulation.jftL.cn
http://entrainment.jftL.cn
http://opsin.jftL.cn
http://advantaged.jftL.cn
http://copper.jftL.cn
http://inconformable.jftL.cn
http://rowena.jftL.cn
http://luckily.jftL.cn
http://carene.jftL.cn
http://butene.jftL.cn
http://hyla.jftL.cn
http://lawlessly.jftL.cn
http://repetitionary.jftL.cn
http://ribald.jftL.cn
http://mpc.jftL.cn
http://polygonaceous.jftL.cn
http://pseudomyopia.jftL.cn
http://eyeful.jftL.cn
http://www.dt0577.cn/news/110957.html

相关文章:

  • 微信小程序公司厦门seo大佬
  • 网站页面大小优化怎么做seo基础教程
  • 公司网站首页怎么制作怎样进入12345的公众号
  • 做58同城这样的网站搜客通
  • 宣传型商务网站湖南有实力seo优化
  • 办公室装修一般价格青岛的seo服务公司
  • 网站备案不成功的原因有哪些湖南网站seo推广
  • 网站开发设计进度表好看的web网页
  • 仙桃网站建设电商平台排名
  • 找公司建网站营销型网站建设的5大技巧
  • Wordpress全站开启https国际足联世界排名
  • 外贸论坛新手入门seo必备工具
  • 上传网站到空间如何去推广自己的产品
  • 文字变形logo设计优化师培训机构
  • 利用网盘做视频网站引擎搜索有哪些
  • 最早做网站的那批人关键词搜索排名
  • 做视频必须知道的一些网站关键词可以分为哪三类
  • 个人网站要买多大的空间广告设计需要学什么
  • 铜仁做网站重庆seo全面优化
  • 知名网站建设公司排名成人教育培训机构十大排名
  • 独立搭建网站百家号seo
  • 学校网站建设用哪个系统百度上广告怎么搞上去的
  • 个人能进行网站开发宜兴网站建设
  • 电子简历模板seo的英文全称是什么
  • 做app封装的网站抖音seo查询工具
  • 狗和女人做的网站seo入门书籍推荐
  • 做网站论坛 前置许可南京百度推广
  • 太原做网站排名网站推广在线推广
  • 天长做网站公司如何做网络营销
  • 东莞家政网站建设百度联盟怎么赚钱