-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
83 additions
and
57 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Math | ||
> 数学 | ||
|
||
|
||
|
||
## Linear Algebra | ||
|
||
线性代数 | ||
|
||
- [基](https://www.douban.com/note/774496194/) | ||
|
||
## 域 | ||
|
||
## 观点 | ||
|
||
### 迈克尔·阿蒂亚:二十世纪的数学发展 | ||
|
||
从线性到非线性的发展,从非欧几里得几何的不同阶段到Riemann的更一般的几何,都是非线性的。 | ||
|
||
几何与代数,Euclid几何是数学理论中最早的一个例子,直到Descartes引入现在称为笛卡尔坐标系之前,一直是纯几何,之后是代数形式的尝试。 | ||
Newton和Leibniz在分析方面的工作就是Newton以一个几何四维来思考,Leibniz使用形式化代数来思考,到现在的符号就是以Leibniz的符号来表示的。 | ||
|
||
几何是关于空间的,当你一眼观望完一个房间时,你的大脑所看到的太多东西了,空间直觉spatial intuition或空间知觉spatial perception,这些都是以几何形式出现的。这些都是在一个时间点上看到的结果,几何本质是静止的。而代数本质上是涉及的是时间,一步推导一步推导的结果,都是在上一个时间点上,是在前一个步骤上的结果,特别是计算机出现后的,算法,就是代数的形式化过程中的产物,任何算法,任何计算过程,都是一个接着一个的,并不是那个静止下的结果。 | ||
|
||
几何本质是静止的,而代数,现代的算法,任何算法,任何计算过程都是有时间维度的。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,22 @@ | ||
# imgui | ||
> 通用的UI随着时间也会不再那么通用了,因为业务逻辑的发展,通用UI的缓存问题限制了灵活使用UI的问题。传统UI保持不变不更新,但现在更喜欢实时循环,从原来的对象到现在由状态来调用UI绘制的过程,原来的设计模式下的复用,并不能很完美的复用,会因为编程语言的语法更新而改变。 | ||
>> 这是范式的改变,与传统的GUI的区别,支持任何的数据驱动可视化。 | ||
立即模式,有多种实现 | ||
|
||
[Casey Muratori](https://caseymuratori.com/)的一篇文章中描述,imgui模式的开始[Inmediate Mode GUI paradigm](https://caseymuratori.com/blog_0001)。但让我想到的是blender那套UI,也是自己使用OpenGL绘制,但那个逻辑复杂度就比较高了。 | ||
|
||
[Dear ImGui: Bloat-free Graphical User interface for C++ with minimal dependencies.](https://github.com/ocornut/imgui) | ||
[A single-header ANSI C immediate mode cross-platform GUI library, This is a minimal-state, immediate-mode graphical user interface toolkit written in ANSI C and licensed under public domain](https://github.com/Immediate-Mode-UI/Nuklear) | ||
- Frame shearing,在实时应用中,每秒刷新很多帧,用户交互总是响应于前一帧绘制的内容,即在交互之前需要绘制出来,可能存在新旧状态的交替,需要特别注意 | ||
- 屏幕内容每帧都在变化,可以使屏幕容量无限大,不需要考虑重叠窗口、滚动视图等页面选项卡内容,这样更有效率,传统布局算法都需要两次遍历所有UI组件(第一遍计算大小,第二遍计算布局) | ||
- 状态少,只有必要状态,其他状态都是由应用程序控制, | ||
|
||
## ocornut Dear ImGui | ||
|
||
### 优点 | ||
[Casey Muratori](https://caseymuratori.com/)的一篇文章中描述,imgui模式的开始[Inmediate Mode GUI paradigm](https://caseymuratori.com/blog_0001)。但让我想到的是blender那套UI,也是自己使用OpenGL绘制,但那个逻辑复杂度就比较高了。 | ||
|
||
- 快,实现简单 | ||
- 无状态, 逻辑维护都需要自己调用者自己维护 | ||
|
||
### 缺点 | ||
## [ocornut Dear ImGui](https://github.com/ocornut/imgui) | ||
Dear ImGui: Bloat-free Graphical User interface for C++ with minimal dependencies. | ||
|
||
-无状态,通常布局算法都需要两次遍历所有UI组件(第一遍计算大小,第二遍计算布局) | ||
## [Nuklear](https://github.com/Immediate-Mode-UI/Nuklear) | ||
A single-header ANSI C immediate mode cross-platform GUI library, This is a minimal-state, immediate-mode graphical user interface toolkit written in ANSI C and licensed under public domain | ||
|
||
## Nuklear | ||
## 参考 | ||
- [Immediate Mode Graphical User Interface (IMGUI)](http://www.johno.se/book/imgui.html) | ||
- [pdf lecture](http://www.johno.se/book/imgui.pdf) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters