Translations:Teams/31/zh: Difference between revisions

From DDraceNetwork
Darkh (talk | contribs)
Created page with "从1到63的每一支队伍都有专属颜色,这些颜色根据golden angle划分。"
 
Darkh (talk | contribs)
No edit summary
 
Line 1: Line 1:
从1到63的每一支队伍都有专属颜色,这些颜色根据[[wikipedia:Golden_angle|golden angle]]划分。
从1到63的每一支队伍都有专属颜色,这些颜色根据[[wikipedia:Golden_angle|黄金角度]]划分。利用黄金角度的性质可以生成一个不会重复的序列,保证相邻的序号颜色非常容易区分。项目地址为[https://github.com/ddnet/ddnet/pull/7129 GitHub Pull Request]。事实上就是按照一个无理数或者称为无限不循环小数的间隔划分颜色,因此两个色号差距永远是无限不循环小数,理论上确实不会出现重复,但是有两个问题:一个是色号只存储整数部分,因此小数部分不重复的意义并不明显;另一个是人眼的分辨能力并没有那么高,相隔很近的颜色还是区分不了。因此观察下面的图示还是有很多重复颜色

Latest revision as of 07:02, 3 July 2024

Information about message (contribute)
This message has no documentation. If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (Teams)
Each team <code>1-63</code> has its own color, these colors are assigned by using the [[wikipedia:Golden_angle|golden angle]]. Due to the properties of the golden angle, this can generate never repeating sequences of unique colors where the adjacent colors are very distinct. [https://github.com/ddnet/ddnet/pull/7129 GitHub Pull Request]

从1到63的每一支队伍都有专属颜色,这些颜色根据黄金角度划分。利用黄金角度的性质可以生成一个不会重复的序列,保证相邻的序号颜色非常容易区分。项目地址为GitHub Pull Request。事实上就是按照一个无理数或者称为无限不循环小数的间隔划分颜色,因此两个色号差距永远是无限不循环小数,理论上确实不会出现重复,但是有两个问题:一个是色号只存储整数部分,因此小数部分不重复的意义并不明显;另一个是人眼的分辨能力并没有那么高,相隔很近的颜色还是区分不了。因此观察下面的图示还是有很多重复颜色。