今天介绍一个小效果
新手引导的时候,我们会需要一种全屏幕黑掉,只有一个区域亮起的效果
废话不多说,先看效果
http://lightszero.github.io/focuswin/focuswin.html 一、首先让我们来建立基本的测试环境 建立两个Quad
把Camera配置成这样 把Quad...
分类:
其他好文 时间:
2014-12-26 20:09:05
阅读次数:
110
一个关于SG的博弈游戏,对于某个堆有$M_i$和$L_i$,那么这个堆的SG值为$$SG_i = M_i \%(L_i+1)$$为什么这道题的$SG$函数就是这样子的呢?四个字:手算打表!!$Let's \quad Review \quad The \quad Defination \quad Of...
分类:
其他好文 时间:
2014-12-01 00:50:16
阅读次数:
242
POJ 3420 Quad Tiling贴瓷砖:4*N的地板上用2*1的瓷砖铺满,求所有方案数对M求余。3.4熟练掌握动态规划矩阵的幂久违地上了节课,太无聊,只好刷一题。假设S[n]表示填满n时的方案数,有S[0]=1。定义矩阵M[p][q] := 边缘p和边缘q可以拼合时取1,否则取0所谓的可以拼...
分类:
其他好文 时间:
2014-11-24 23:54:39
阅读次数:
358
Prove that for any vectors $$\bex u_1,\cdots,u_k,\quad v_1,\cdots,v_k, \eex$$ we have $$\bex |\det(\sef{u_i,v_j})|^2 \leq \det\sex{\sef{u_i,u_j}}\cdot...
分类:
其他好文 时间:
2014-11-21 10:21:56
阅读次数:
155
Hilbert 零点定理: 设 $\bbF$ 是一个代数闭域, $L$ 是 $\bbF[x_1,\cdots,x_n]$ 的一个真理想, 则 $$\bex \exists\ (a_1,\cdots,a_n)\in\bbF^n\ra f(a_1,\cdots,a_n)=0,\quad\forall\ ...
分类:
其他好文 时间:
2014-11-19 12:08:37
阅读次数:
221
Background
Trees are fundamental in many branches of computer science. Current state-of-the art parallel computers such as Thinking Machines' CM-5 are based on
fat trees. Quad- and octal-trees are f...
分类:
其他好文 时间:
2014-11-11 22:56:41
阅读次数:
239
4. (G.M. Krause) 令 $$\bex \lm_1=1,\quad \lm_2=\frac{4+5\sqrt{3}I}{13},\quad \lm_3=\frac{-1+2\sqrt{3}i}{13},\quad v=\sex{\sqrt{\frac{5}{8}},\frac{1}{2}...
分类:
其他好文 时间:
2014-11-07 09:46:46
阅读次数:
206
17. (Ando-Zhan) 设 $A,B\in M_n$ 半正定, $\sen{\cdot}$ 是一个酉不变范数, 则 $$\bex \sen{(A+B)^r}\leq \sen{A^r+B^r},\quad (0<r\leq 1), \eex$$ $$\bex \sen{(A+B)^r}\ge...
分类:
其他好文 时间:
2014-11-05 21:15:04
阅读次数:
163
6. 设 $A,B\in M_n$ 半正定, 则 $$\bex s_j(A-B)\leq s_j\sex{ \sex{\ba{cc} A&0\\ 0&B \ea}},\quad j=1,\cdots,n. \eex$$
分类:
其他好文 时间:
2014-11-05 12:54:44
阅读次数:
149
3. $G\in M_n$ 称为一个秩 $k$ 部分等距矩阵, 若 $$\bex s_1(G)=\cdots=s_k(G)=1,\quad s_{k+1}(G)=\cdots=s_n(G)=0. \eex$$ 证明对 $X\in M_n$, $$\bex \sum_{j=1}^k s_j(X) =\...
分类:
其他好文 时间:
2014-11-05 12:42:17
阅读次数:
131