I'm Ovilia and this blog is concerned about Web Front-End, my book reviews and other interesting topics. Please feel free to leave a comment or contact me by email if you have any question.
In this post, we are going to introduce how to use THREE.ShaderPass
to write shaders for video from local camera and get pixel data from the rendered composer. We will take THREE.EdgeShader
as example and read the rendered edges from it.
Third-Party libraries sometimes come without AMD version. This post introduces a method to wrap them using shim. I’m going to take Three.js as example.
This post introduces how to draw a heatmap chart using Canvas. By the end of the post, you can get the result as shown in the following image.
This post introduces how to use JavaScript to upload a single image with dat.GUI. The file name of the image would be displayed in dat.GUI once the user chose an image.
This post talks about setting up Jade environment on GitHub Pages. GitHub Pages uses Jekyll for static HTML generating, which is how this very blog be hosted. You may probably find Jekyll lovely, after some period of adapting. Jekyll is especially more suitable for generating blogs than some random Websites. But for a general Website, we usually need to save ourselves from writing tags after tags. And Jade is what we needed.
Something you may not know about JavaScript delete.
我记性很差。我总是忘记犯过的错误,然后再犯。一而再也就算了,但我不想再而三。所以我写下这篇笔记,一则警戒犯过的错误,二则为再遇到同样的问题提提供帮助,三则日后看到曾经犯过的愚蠢错误也值得一笑。大多数错误的原因是比较简单的,否则将单独作为博客来写。
我记性很差,所以从初中背诗词起,就想出各种奇奇怪怪的故事帮助记忆,可惜我现在也记不得了。所以我准备拿最近背的例子来做个说明,应该挺有意思的!
2015 年 1 月 1 日至 2015 年 5 月 31 日总共读了 40 本书,其中 9 本还是技术书,这让我更觉得这半年读书之少了。从 2014 年初决定大规模读书以后,上半年读了 88 本,下半年读了 42 本。根据这一年半的读书经历,我觉得差不多维持在每半年 40 本的数量是合适的。我倒也没有太在意读书多少,但是如果一段时间这个数字小了,的确也会引起我的注意,是不是花的时间少了,或者是兴趣淡了?
我的睡眠一直不大好。每个月大约都要彻夜睡不着一次,躺下一个小时睡不着的更是常事,对我来说半小时就能睡着实在是难得。早上又容易惊醒,在寝室不戴耳塞眼罩的基本六七点就得醒了。如此以来已经有好多年了。每次跟一个新认识的朋友说起,对方第一反应总是告诉我一些容易安然入睡的偏方。本意自然是好的,只是让我想到这里其实有个梗……
回忆是一个很神奇的东西。我们通常会觉得回忆很美好,美好到我们忍不住想和我们的新朋友分享。即使是痛苦不堪的回忆,也会用最善意和温馨的方式去解读。而当我们如数家珍的时候,看着对方努力想表现出感兴趣的样子,自己好像也会被无聊到:“是哦,现在想想,这些事的确挺无趣的。”下一次,我们可能会像说书人一样,把这件事添油加醋地尽量描绘得有意思些;或者,干脆不愿再告诉别人。
2015 年 3 月参加并通过了阿里巴巴和百度的前端面试,前后历时三周,最后选择了阿里无线事业部作为暑假实习,但是也很向往 EFE 的 echarts 哦!有机会一定去体验下~ 这篇博客一来为自己作记录,二来希望给需要的人一些经验。