Git Product home page Git Product logo

fwfx1234.github.io's People

Contributors

fwfx1234 avatar dependabot[bot] avatar

Watchers

James Cloos avatar  avatar

fwfx1234.github.io's Issues

检测网页退出的方法 | fwfx1234的博客

https://fwfx1234.github.io/2021/07/08/%E5%89%8D%E7%AB%AF/%E6%A3%80%E6%B5%8B%E7%BD%91%E9%A1%B5%E9%80%80%E5%87%BA%E7%9A%84%E6%96%B9%E6%B3%95/

最近接了个需求,需要在用户非正常的退出我们业务流程的时候弹窗收集点信息。要求不高,就是用户点返回键退出到流程首页的时候弹窗。本以为很快的就能实现,没想到遇到了点坑,所以记录下实现的过程。 检测网页关闭的api 一开始我记得有个检测网页退出的事件,想着能不能通过监听这个事件来实现这个功能。查了下是onunload事件,mdn发现这玩意儿不好用,

webgl进入3d世界需要的基本概念 | fwfx1234的博客

https://fwfx1234.github.io/2021/06/23/webgl/webgl%E8%BF%9B%E5%85%A53d%E4%B8%96%E7%95%8C%E9%9C%80%E8%A6%81%E7%9A%84%E5%9F%BA%E6%9C%AC%E6%A6%82%E5%BF%B5/

前言 在webgl里,要画出3d模型的话需要用到很多新的概念(对于没学习过图形学的人来说,比如我)。第一个比较重要的概念就是相机,《webgl编程指南》这边书里在开始讲3d的时候直接提供lookAt函数来实现相机功能,但是并没有讲的很详细,或许是我没有看到。由于不想不明不白的直接使用现成的函数,所以在网上搜罗资料整理了本文,总结下来方便以后学

正交投影变换 | fwfx1234的博客

https://fwfx1234.github.io/2021/06/23/webgl/%E6%AD%A3%E4%BA%A4%E6%8A%95%E5%BD%B1%E5%8F%98%E6%8D%A2/

正交投影变换 在webgl里,我们观察物体,只有物体在可视范围内才会被绘制,可视范围一般有长方体和锥形的,长方体可视空间是由正交投影产生的,另外一个是金字塔塔型的,具有近大远小的效果。正交投影变换不涉及到近大远小这种问题,还是比较简单的。只有一个坐标的转换,在使用正交投影的时候,基本上是将物体投影到一个规范化的立体空间里。如下图(百度图片找的

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.