Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
lmj01 committed Jul 5, 2024
1 parent 61e7626 commit 0d7b056
Show file tree
Hide file tree
Showing 10 changed files with 66 additions and 8 deletions.
2 changes: 2 additions & 0 deletions cg/Color.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# [Color](https://www.color.org/index.xalter)
> ICC International Color Consortium
- [The Importance of Being Linear](https://developer.nvidia.com/gpugems/gpugems3/part-iv-image-effects/chapter-24-importance-being-linear)

色彩主观就是光线给人眼的感觉,客观地说就是人眼对可见光0.43um到0.78um的波长,不同的波长对人眼产生不同的神经信号,传递大脑的感知就是色彩,非可见光人眼是无法感知的。

如果一束光,它的光子都是同一波长的,就是单色光;不同波长的光合在一起就是混合光;
Expand Down
1 change: 1 addition & 0 deletions cg/threejs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
- [Loader细节](/cg/threejs/loader.md)
- [Grid实现](/cg/threejs/grid.md)
- [shader](/cg/threejs/shader.md)
- [material材质](/cg/threejs/material.md)

## 参考

Expand Down
16 changes: 16 additions & 0 deletions cg/threejs/material.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Shader](https://threejs.org/docs/index.html?q=material)

- [[SOLVED] Why does object get dimmer/darker when light gets closer to it?](https://discourse.threejs.org/t/solved-why-does-object-get-dimmer-darker-when-light-gets-closer-to-it/3475)

## linear workflow

在r152中引入这个概念,

- [The Importance of Being Linear](https://developer.nvidia.com/gpugems/gpugems3/part-iv-image-effects/chapter-24-importance-being-linear)
- [Updates to Color Management in three.js r152](https://discourse.threejs.org/t/updates-to-color-management-in-three-js-r152/50791)
- [Updates to lighting in three.js r155](https://discourse.threejs.org/t/updates-to-lighting-in-three-js-r155/53733)
- [Shadow and color problems going from v64 to v161](https://discourse.threejs.org/t/shadow-and-color-problems-going-from-v64-to-v161/61640)


```js
```
26 changes: 25 additions & 1 deletion cpl/js/lmj.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,27 @@
const q2in2024 = {
p: [
0.15,
0.15,
0.35,
0.05,
0.10,
0.10,
0.05,
0.03,
0.02,
],
r: [
70,
70,
90, // 暂停
90, // 暂停
95,
90,
100,
100,
100,
],
}
const q1in2024 = {
p: [
0.20,
Expand Down Expand Up @@ -48,7 +72,7 @@ const q4in2023 = {
100,
],
}
const arrayList = [q1in2024, q4in2023];
const arrayList = [q2in2024, q1in2024, q4in2023];
function toScroe(data) {
console.log('one-quater-year')
return data.p.reduce((pv,cv,i)=>{
Expand Down
2 changes: 1 addition & 1 deletion dev-note/powershell.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@ xcopy /s /e /h /i /y .\third\snippet\ .\third2\snippet\

window上可以直接sshLinux下,在家里的局域网测试成功
```shell
ssh name@ip
ssh name@ip // 登录后会让你输入密码
```
3 changes: 3 additions & 0 deletions exercises/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@

## 工具

- [Wolfram MathWorld](https://mathworld.wolfram.com/)
- [提供各种数学问题的交互式解法和动画](https://www.cut-the-knot.org/)

<details>
<summary>Geogebra开源在线工具</summary>

Expand Down
8 changes: 8 additions & 0 deletions exercises/math.secondary.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,14 @@
16 世纪的时候,当时数学家发现一维数轴并不是完整的图景。他们需要“发明”这个神秘的数字,称之为虚数单位,即i² = -1,以便计算三次多项式方程的解。
</p>

$$
\text{一般来说,可以通过乘以复数}e^{(\theta i)}\text{来获得任意角度} \theta \text{的旋转,其中}e\text{是自然对数的底数,}\theta\text{是以弧度表示的旋转角度。现在可以使用这个语言来解释欧拉恒等式}
$$

$e^{\pi i} + 1 = 0 \to e^{\pi i} = -1$

它表示的是将平面上的某个点逆时针旋转180度的几何变换与通过(0,0)反射该点相同而已。

</details>

## 几何
Expand Down
4 changes: 2 additions & 2 deletions index/computerScience.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Computer Science
# 计算机科学

## Programing Language

Expand Down Expand Up @@ -117,6 +117,6 @@
## 其他

- [计算机专业学习路线](https://hackway.org/docs/cs/intro)
- [安全之攻击](/articles/time.attacks.md)
- [安全](/articles/safe/index.md)
- [The original sources of MS-DOS 1.25, 2.0, and 4.0 for reference purposes ](https://github.com/microsoft/MS-DOS)

1 change: 1 addition & 0 deletions index/online.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
## 工具

- [Javascript Playground--邮箱[email protected]](https://playcode.io/)
- [用 HTML 的方式展示乐谱Scribe renders music notation in HTML.](https://github.com/stephband/scribe)

### 流程图

Expand Down
11 changes: 7 additions & 4 deletions index/safety.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
# 安全

## 编程

- [溢出分析](/articles/safe/overflow.md)
- [计时攻击](/articles/safe/time.attacks.md)
- [相关技术](/articles/safe/index.md)

## 逆向工程

Expand All @@ -24,3 +21,9 @@

- [什么是 CVE(常见漏洞和暴露)?](https://informationsecurityasia.com/zh-CN/what-is-cve/)
- [什么是CVE?](https://info.support.huawei.com/info-finder/encyclopedia/zh/CVE.html)

### [ZKP-Zero-Knowledge Proof]()

零知识证明是一种密码学协议,它允许一个参与者(证明者)向另一个参与者(验证者)证明某个陈述是正确的,而无需提供除了该陈述的真实性之外的任何信息。

- [零知识证明入门教程。Comprehensive Zero-Knowledge Proofs Tutorial](https://github.com/WTFAcademy/WTF-zk)

0 comments on commit 0d7b056

Please sign in to comment.