vue-let-it-snow
vue-let-it-snow copied to clipboard
The vue version for let-it-snow
remove unnecessary console.log just to keep browser console clean
请问手动改变浏览器宽度之后,出现以下错误是什么原因? `Uncaught TypeError: Cannot read property 'getContext' of undefined at VueComponent.init (vue-let-it-snow.esm.js?7458:240) at eval (vue-let-it-snow.esm.js?7458:103)`

预设了一个minDist 100是做什么用的? flake.velX 和 flake.velY 还有flake.x 和 flake.y各是什么意思呢?偏移量么? 主要就是下面这段实在是不理解,恳请大神讲一下思路指点指点就行 ``` if (dist < minDist) { var force = minDist / (dist * dist) var xcomp = (x - x2) /...