Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
车家大少爷
three.js
提交
7de14ec2
T
three.js
项目概览
车家大少爷
/
three.js
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
three.js
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
7de14ec2
编写于
9月 10, 2013
作者:
M
Mr.doob
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Updated builds.
上级
5292d195
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
10 addition
and
10 deletion
+10
-10
build/three.js
build/three.js
+4
-4
build/three.min.js
build/three.min.js
+6
-6
未找到文件。
build/three.js
浏览文件 @
7de14ec2
...
@@ -342,9 +342,9 @@ THREE.Color.prototype = {
...
@@ -342,9 +342,9 @@ THREE.Color.prototype = {
// rgb(255,0,0)
// rgb(255,0,0)
if ( /^rgb\((\d+),
(\d+),
(\d+)\)$/i.test( style ) ) {
if ( /^rgb\((\d+),
?(\d+), ?
(\d+)\)$/i.test( style ) ) {
var color = /^rgb\((\d+),
(\d+),
(\d+)\)$/i.exec( style );
var color = /^rgb\((\d+),
?(\d+), ?
(\d+)\)$/i.exec( style );
this.r = Math.min( 255, parseInt( color[ 1 ], 10 ) ) / 255;
this.r = Math.min( 255, parseInt( color[ 1 ], 10 ) ) / 255;
this.g = Math.min( 255, parseInt( color[ 2 ], 10 ) ) / 255;
this.g = Math.min( 255, parseInt( color[ 2 ], 10 ) ) / 255;
...
@@ -356,9 +356,9 @@ THREE.Color.prototype = {
...
@@ -356,9 +356,9 @@ THREE.Color.prototype = {
// rgb(100%,0%,0%)
// rgb(100%,0%,0%)
if ( /^rgb\((\d+)\%,
(\d+)\%,
(\d+)\%\)$/i.test( style ) ) {
if ( /^rgb\((\d+)\%,
?(\d+)\%, ?
(\d+)\%\)$/i.test( style ) ) {
var color = /^rgb\((\d+)\%,
(\d+)\%,
(\d+)\%\)$/i.exec( style );
var color = /^rgb\((\d+)\%,
?(\d+)\%, ?
(\d+)\%\)$/i.exec( style );
this.r = Math.min( 100, parseInt( color[ 1 ], 10 ) ) / 100;
this.r = Math.min( 100, parseInt( color[ 1 ], 10 ) ) / 100;
this.g = Math.min( 100, parseInt( color[ 2 ], 10 ) ) / 100;
this.g = Math.min( 100, parseInt( color[ 2 ], 10 ) ) / 100;
...
...
build/three.min.js
浏览文件 @
7de14ec2
...
@@ -7,12 +7,12 @@ THREE.SrcAlphaSaturateFactor=210;THREE.MultiplyOperation=0;THREE.MixOperation=1;
...
@@ -7,12 +7,12 @@ THREE.SrcAlphaSaturateFactor=210;THREE.MultiplyOperation=0;THREE.MixOperation=1;
THREE
.
LinearFilter
=
1006
;
THREE
.
LinearMipMapNearestFilter
=
1007
;
THREE
.
LinearMipMapLinearFilter
=
1008
;
THREE
.
UnsignedByteType
=
1009
;
THREE
.
ByteType
=
1010
;
THREE
.
ShortType
=
1011
;
THREE
.
UnsignedShortType
=
1012
;
THREE
.
IntType
=
1013
;
THREE
.
UnsignedIntType
=
1014
;
THREE
.
FloatType
=
1015
;
THREE
.
UnsignedShort4444Type
=
1016
;
THREE
.
UnsignedShort5551Type
=
1017
;
THREE
.
UnsignedShort565Type
=
1018
;
THREE
.
AlphaFormat
=
1019
;
THREE
.
RGBFormat
=
1020
;
THREE
.
RGBAFormat
=
1021
;
THREE
.
LuminanceFormat
=
1022
;
THREE
.
LuminanceAlphaFormat
=
1023
;
THREE
.
LinearFilter
=
1006
;
THREE
.
LinearMipMapNearestFilter
=
1007
;
THREE
.
LinearMipMapLinearFilter
=
1008
;
THREE
.
UnsignedByteType
=
1009
;
THREE
.
ByteType
=
1010
;
THREE
.
ShortType
=
1011
;
THREE
.
UnsignedShortType
=
1012
;
THREE
.
IntType
=
1013
;
THREE
.
UnsignedIntType
=
1014
;
THREE
.
FloatType
=
1015
;
THREE
.
UnsignedShort4444Type
=
1016
;
THREE
.
UnsignedShort5551Type
=
1017
;
THREE
.
UnsignedShort565Type
=
1018
;
THREE
.
AlphaFormat
=
1019
;
THREE
.
RGBFormat
=
1020
;
THREE
.
RGBAFormat
=
1021
;
THREE
.
LuminanceFormat
=
1022
;
THREE
.
LuminanceAlphaFormat
=
1023
;
THREE
.
RGB_S3TC_DXT1_Format
=
2001
;
THREE
.
RGBA_S3TC_DXT1_Format
=
2002
;
THREE
.
RGBA_S3TC_DXT3_Format
=
2003
;
THREE
.
RGBA_S3TC_DXT5_Format
=
2004
;
THREE
.
Color
=
function
(
a
){
void
0
!==
a
&&
this
.
set
(
a
);
return
this
};
THREE
.
RGB_S3TC_DXT1_Format
=
2001
;
THREE
.
RGBA_S3TC_DXT1_Format
=
2002
;
THREE
.
RGBA_S3TC_DXT3_Format
=
2003
;
THREE
.
RGBA_S3TC_DXT5_Format
=
2004
;
THREE
.
Color
=
function
(
a
){
void
0
!==
a
&&
this
.
set
(
a
);
return
this
};
THREE
.
Color
.
prototype
=
{
constructor
:
THREE
.
Color
,
r
:
1
,
g
:
1
,
b
:
1
,
set
:
function
(
a
){
a
instanceof
THREE
.
Color
?
this
.
copy
(
a
):
"
number
"
===
typeof
a
?
this
.
setHex
(
a
):
"
string
"
===
typeof
a
&&
this
.
setStyle
(
a
);
return
this
},
setHex
:
function
(
a
){
a
=
Math
.
floor
(
a
);
this
.
r
=
(
a
>>
16
&
255
)
/
255
;
this
.
g
=
(
a
>>
8
&
255
)
/
255
;
this
.
b
=
(
a
&
255
)
/
255
;
return
this
},
setRGB
:
function
(
a
,
b
,
c
){
this
.
r
=
a
;
this
.
g
=
b
;
this
.
b
=
c
;
return
this
},
setHSL
:
function
(
a
,
b
,
c
){
if
(
0
===
b
)
this
.
r
=
this
.
g
=
this
.
b
=
c
;
else
{
var
d
=
function
(
a
,
b
,
c
){
0
>
c
&&
(
c
+=
1
);
1
<
c
&&
(
c
-=
1
);
return
c
<
1
/
6
?
a
+
6
*
(
b
-
a
)
*
THREE
.
Color
.
prototype
=
{
constructor
:
THREE
.
Color
,
r
:
1
,
g
:
1
,
b
:
1
,
set
:
function
(
a
){
a
instanceof
THREE
.
Color
?
this
.
copy
(
a
):
"
number
"
===
typeof
a
?
this
.
setHex
(
a
):
"
string
"
===
typeof
a
&&
this
.
setStyle
(
a
);
return
this
},
setHex
:
function
(
a
){
a
=
Math
.
floor
(
a
);
this
.
r
=
(
a
>>
16
&
255
)
/
255
;
this
.
g
=
(
a
>>
8
&
255
)
/
255
;
this
.
b
=
(
a
&
255
)
/
255
;
return
this
},
setRGB
:
function
(
a
,
b
,
c
){
this
.
r
=
a
;
this
.
g
=
b
;
this
.
b
=
c
;
return
this
},
setHSL
:
function
(
a
,
b
,
c
){
if
(
0
===
b
)
this
.
r
=
this
.
g
=
this
.
b
=
c
;
else
{
var
d
=
function
(
a
,
b
,
c
){
0
>
c
&&
(
c
+=
1
);
1
<
c
&&
(
c
-=
1
);
return
c
<
1
/
6
?
a
+
6
*
(
b
-
a
)
*
c
:
0.5
>
c
?
b
:
c
<
2
/
3
?
a
+
6
*
(
b
-
a
)
*
(
2
/
3
-
c
):
a
},
b
=
0.5
>=
c
?
c
*
(
1
+
b
):
c
+
b
-
c
*
b
,
c
=
2
*
c
-
b
;
this
.
r
=
d
(
c
,
b
,
a
+
1
/
3
);
this
.
g
=
d
(
c
,
b
,
a
);
this
.
b
=
d
(
c
,
b
,
a
-
1
/
3
)}
return
this
},
setStyle
:
function
(
a
){
if
(
/^rgb
\((\d
+
)
,
(\d
+
)
,
(\d
+
)\)
$/i
.
test
(
a
))
return
a
=
/^rgb
\((\d
+
)
,
(\d
+
)
,
(\d
+
)\)
$/i
.
exec
(
a
),
this
.
r
=
Math
.
min
(
255
,
parseInt
(
a
[
1
],
10
))
/
255
,
this
.
g
=
Math
.
min
(
255
,
parseInt
(
a
[
2
],
10
))
/
255
,
this
.
b
=
Math
.
min
(
255
,
parseInt
(
a
[
3
],
10
))
/
255
,
this
;
if
(
/^rgb
\((\d
+
)\%
,
(\d
+
)\%
,
(\d
+
)\%\)
$/i
.
test
(
a
))
return
a
=
/^rgb
\((\d
+
)\%
,
(\d
+
)\%
,
(\d
+
)\%\)
$/i
.
exec
(
a
),
this
.
r
=
Math
.
min
(
100
,
c
:
0.5
>
c
?
b
:
c
<
2
/
3
?
a
+
6
*
(
b
-
a
)
*
(
2
/
3
-
c
):
a
},
b
=
0.5
>=
c
?
c
*
(
1
+
b
):
c
+
b
-
c
*
b
,
c
=
2
*
c
-
b
;
this
.
r
=
d
(
c
,
b
,
a
+
1
/
3
);
this
.
g
=
d
(
c
,
b
,
a
);
this
.
b
=
d
(
c
,
b
,
a
-
1
/
3
)}
return
this
},
setStyle
:
function
(
a
){
if
(
/^rgb
\((\d
+
)
,
?(\d
+
)
,
?(\d
+
)\)
$/i
.
test
(
a
))
return
a
=
/^rgb
\((\d
+
)
,
?(\d
+
)
,
?(\d
+
)\)
$/i
.
exec
(
a
),
this
.
r
=
Math
.
min
(
255
,
parseInt
(
a
[
1
],
10
))
/
255
,
this
.
g
=
Math
.
min
(
255
,
parseInt
(
a
[
2
],
10
))
/
255
,
this
.
b
=
Math
.
min
(
255
,
parseInt
(
a
[
3
],
10
))
/
255
,
this
;
if
(
/^rgb
\((\d
+
)\%
,
?(\d
+
)\%
,
?(\d
+
)\%\)
$/i
.
test
(
a
))
return
a
=
/^rgb
\((\d
+
)\%
,
?(\d
+
)\%
,
?(\d
+
)\%\)
$/i
.
exec
(
a
),
this
.
r
=
parseInt
(
a
[
1
],
10
))
/
100
,
this
.
g
=
Math
.
min
(
100
,
parseInt
(
a
[
2
],
10
))
/
100
,
this
.
b
=
Math
.
min
(
100
,
parseInt
(
a
[
3
],
10
))
/
100
,
this
;
if
(
/^
\#([
0-9a-f
]{6})
$/i
.
test
(
a
))
return
a
=
/^
\#([
0-9a-f
]{6})
$/i
.
exec
(
a
),
this
.
setHex
(
parseInt
(
a
[
1
],
16
)),
this
;
if
(
/^
\#([
0-9a-f
])([
0-9a-f
])([
0-9a-f
])
$/i
.
test
(
a
))
return
a
=
/^
\#([
0-9a-f
])([
0-9a-f
])([
0-9a-f
])
$/i
.
exec
(
a
),
this
.
setHex
(
parseInt
(
a
[
1
]
+
a
[
1
]
+
a
[
2
]
+
a
[
2
]
+
a
[
3
]
+
a
[
3
],
16
)),
this
;
if
(
/^
(\w
+
)
$/i
.
test
(
a
))
return
this
.
setHex
(
THREE
.
ColorKeywords
[
a
]),
this
},
copy
:
function
(
a
){
this
.
r
=
a
.
r
;
this
.
g
=
a
.
g
;
this
.
b
=
Math
.
min
(
100
,
parseInt
(
a
[
1
],
10
))
/
100
,
this
.
g
=
Math
.
min
(
100
,
parseInt
(
a
[
2
],
10
))
/
100
,
this
.
b
=
Math
.
min
(
100
,
parseInt
(
a
[
3
],
10
))
/
100
,
this
;
if
(
/^
\#([
0-9a-f
]{6})
$/i
.
test
(
a
))
return
a
=
/^
\#([
0-9a-f
]{6})
$/i
.
exec
(
a
),
this
.
setHex
(
parseInt
(
a
[
1
],
16
)),
this
;
if
(
/^
\#([
0-9a-f
])([
0-9a-f
])([
0-9a-f
])
$/i
.
test
(
a
))
return
a
=
/^
\#([
0-9a-f
])([
0-9a-f
])([
0-9a-f
])
$/i
.
exec
(
a
),
this
.
setHex
(
parseInt
(
a
[
1
]
+
a
[
1
]
+
a
[
2
]
+
a
[
2
]
+
a
[
3
]
+
a
[
3
],
16
)),
this
;
if
(
/^
(\w
+
)
$/i
.
test
(
a
))
return
this
.
setHex
(
THREE
.
ColorKeywords
[
a
]),
this
},
copy
:
function
(
a
){
this
.
r
=
a
.
r
;
this
.
g
=
a
.
b
;
return
this
},
copyGammaToLinear
:
function
(
a
){
this
.
r
=
a
.
r
*
a
.
r
;
this
.
g
=
a
.
g
*
a
.
g
;
this
.
b
=
a
.
b
*
a
.
b
;
return
this
},
copyLinearToGamma
:
function
(
a
){
this
.
r
=
Math
.
sqrt
(
a
.
r
);
this
.
g
=
Math
.
sqrt
(
a
.
g
);
this
.
b
=
Math
.
sqrt
(
a
.
b
);
return
this
},
convertGammaToLinear
:
function
(){
var
a
=
this
.
r
,
b
=
this
.
g
,
c
=
this
.
b
;
this
.
r
=
a
*
a
;
this
.
g
=
b
*
b
;
this
.
b
=
c
*
c
;
return
this
},
convertLinearToGamma
:
function
(){
this
.
r
=
Math
.
sqrt
(
this
.
r
);
this
.
g
=
Math
.
sqrt
(
this
.
g
);
this
.
b
=
Math
.
sqrt
(
this
.
b
);
return
this
},
getHex
:
function
(){
return
255
*
this
.
r
<<
16
^
255
*
this
.
g
<<
8
^
255
*
a
.
g
;
this
.
b
=
a
.
b
;
return
this
},
copyGammaToLinear
:
function
(
a
){
this
.
r
=
a
.
r
*
a
.
r
;
this
.
g
=
a
.
g
*
a
.
g
;
this
.
b
=
a
.
b
*
a
.
b
;
return
this
},
copyLinearToGamma
:
function
(
a
){
this
.
r
=
Math
.
sqrt
(
a
.
r
);
this
.
g
=
Math
.
sqrt
(
a
.
g
);
this
.
b
=
Math
.
sqrt
(
a
.
b
);
return
this
},
convertGammaToLinear
:
function
(){
var
a
=
this
.
r
,
b
=
this
.
g
,
c
=
this
.
b
;
this
.
r
=
a
*
a
;
this
.
g
=
b
*
b
;
this
.
b
=
c
*
c
;
return
this
},
convertLinearToGamma
:
function
(){
this
.
r
=
Math
.
sqrt
(
this
.
r
);
this
.
g
=
Math
.
sqrt
(
this
.
g
);
this
.
b
=
Math
.
sqrt
(
this
.
b
);
return
this
},
getHex
:
function
(){
return
255
*
this
.
r
<<
16
^
255
*
this
.
g
<<
this
.
b
<<
0
},
getHexString
:
function
(){
return
(
"
000000
"
+
this
.
getHex
().
toString
(
16
)).
slice
(
-
6
)},
getHSL
:
function
(){
var
a
=
{
h
:
0
,
s
:
0
,
l
:
0
};
return
function
(){
var
b
=
this
.
r
,
c
=
this
.
g
,
d
=
this
.
b
,
e
=
Math
.
max
(
b
,
c
,
d
),
f
=
Math
.
min
(
b
,
c
,
d
),
h
,
g
=
(
f
+
e
)
/
2
;
if
(
f
===
e
)
f
=
h
=
0
;
else
{
var
i
=
e
-
f
,
f
=
0.5
>=
g
?
i
/
(
e
+
f
):
i
/
(
2
-
e
-
f
);
switch
(
e
){
case
b
:
h
=
(
c
-
d
)
/
i
+
(
c
<
d
?
6
:
0
);
break
;
case
c
:
h
=
(
d
-
b
)
/
i
+
2
;
break
;
case
d
:
h
=
(
b
-
c
)
/
i
+
4
}
h
/=
6
}
a
.
h
=
h
;
a
.
s
=
f
;
a
.
l
=
g
;
return
a
}}(),
getStyle
:
function
(){
return
"
rgb(
"
+
(
255
*
this
.
r
|
0
)
+
"
,
"
+
(
255
*
this
.
g
|
0
)
+
"
,
"
+
(
255
*
this
.
b
|
0
)
+
"
)
"
},
offsetHSL
:
function
(
a
,
8
^
255
*
this
.
b
<<
0
},
getHexString
:
function
(){
return
(
"
000000
"
+
this
.
getHex
().
toString
(
16
)).
slice
(
-
6
)},
getHSL
:
function
(){
var
a
=
{
h
:
0
,
s
:
0
,
l
:
0
};
return
function
(){
var
b
=
this
.
r
,
c
=
this
.
g
,
d
=
this
.
b
,
e
=
Math
.
max
(
b
,
c
,
d
),
f
=
Math
.
min
(
b
,
c
,
d
),
h
,
g
=
(
f
+
e
)
/
2
;
if
(
f
===
e
)
f
=
h
=
0
;
else
{
var
i
=
e
-
f
,
f
=
0.5
>=
g
?
i
/
(
e
+
f
):
i
/
(
2
-
e
-
f
);
switch
(
e
){
case
b
:
h
=
(
c
-
d
)
/
i
+
(
c
<
d
?
6
:
0
);
break
;
case
c
:
h
=
(
d
-
b
)
/
i
+
2
;
break
;
case
d
:
h
=
(
b
-
c
)
/
i
+
4
}
h
/=
6
}
a
.
h
=
h
;
a
.
s
=
f
;
a
.
l
=
g
;
return
a
}}(),
getStyle
:
function
(){
return
"
rgb(
"
+
(
255
*
this
.
r
|
0
)
+
"
,
"
+
(
255
*
this
.
g
|
0
)
+
"
,
"
+
(
255
*
this
.
b
|
0
)
+
"
)
"
}
,
b
,
c
){
var
d
=
this
.
getHSL
();
d
.
h
+=
a
;
d
.
s
+=
b
;
d
.
l
+=
c
;
this
.
setHSL
(
d
.
h
,
d
.
s
,
d
.
l
);
return
this
},
add
:
function
(
a
){
this
.
r
+=
a
.
r
;
this
.
g
+=
a
.
g
;
this
.
b
+=
a
.
b
;
return
this
},
addColors
:
function
(
a
,
b
){
this
.
r
=
a
.
r
+
b
.
r
;
this
.
g
=
a
.
g
+
b
.
g
;
this
.
b
=
a
.
b
+
b
.
b
;
return
this
},
addScalar
:
function
(
a
){
this
.
r
+=
a
;
this
.
g
+=
a
;
this
.
b
+=
a
;
return
this
},
multiply
:
function
(
a
){
this
.
r
*=
a
.
r
;
this
.
g
*=
a
.
g
;
this
.
b
*=
a
.
b
;
return
this
},
multiplyScalar
:
function
(
a
){
this
.
r
*=
a
;
this
.
g
*=
a
;
this
.
b
*=
a
;
return
this
},
lerp
:
function
(
a
,
b
){
this
.
r
+=
(
a
.
r
-
this
.
r
)
*
b
;
this
.
g
+=
(
a
.
g
-
this
.
g
)
*
b
;
offsetHSL
:
function
(
a
,
b
,
c
){
var
d
=
this
.
getHSL
();
d
.
h
+=
a
;
d
.
s
+=
b
;
d
.
l
+=
c
;
this
.
setHSL
(
d
.
h
,
d
.
s
,
d
.
l
);
return
this
},
add
:
function
(
a
){
this
.
r
+=
a
.
r
;
this
.
g
+=
a
.
g
;
this
.
b
+=
a
.
b
;
return
this
},
addColors
:
function
(
a
,
b
){
this
.
r
=
a
.
r
+
b
.
r
;
this
.
g
=
a
.
g
+
b
.
g
;
this
.
b
=
a
.
b
+
b
.
b
;
return
this
},
addScalar
:
function
(
a
){
this
.
r
+=
a
;
this
.
g
+=
a
;
this
.
b
+=
a
;
return
this
},
multiply
:
function
(
a
){
this
.
r
*=
a
.
r
;
this
.
g
*=
a
.
g
;
this
.
b
*=
a
.
b
;
return
this
},
multiplyScalar
:
function
(
a
){
this
.
r
*=
a
;
this
.
g
*=
a
;
this
.
b
*=
a
;
return
this
},
lerp
:
function
(
a
,
b
){
this
.
r
+=
(
a
.
r
-
this
.
r
)
*
b
;
this
.
g
+=
this
.
b
+=
(
a
.
b
-
this
.
b
)
*
b
;
return
this
},
equals
:
function
(
a
){
return
a
.
r
===
this
.
r
&&
a
.
g
===
this
.
g
&&
a
.
b
===
this
.
b
},
fromArray
:
function
(
a
){
this
.
r
=
a
[
0
];
this
.
g
=
a
[
1
];
this
.
b
=
a
[
2
];
return
this
},
toArray
:
function
(){
return
[
this
.
r
,
this
.
g
,
this
.
b
]},
clone
:
function
(){
return
(
new
THREE
.
Color
).
setRGB
(
this
.
r
,
this
.
g
,
this
.
b
)}};
(
a
.
g
-
this
.
g
)
*
b
;
this
.
b
+=
(
a
.
b
-
this
.
b
)
*
b
;
return
this
},
equals
:
function
(
a
){
return
a
.
r
===
this
.
r
&&
a
.
g
===
this
.
g
&&
a
.
b
===
this
.
b
},
fromArray
:
function
(
a
){
this
.
r
=
a
[
0
];
this
.
g
=
a
[
1
];
this
.
b
=
a
[
2
];
return
this
},
toArray
:
function
(){
return
[
this
.
r
,
this
.
g
,
this
.
b
]},
clone
:
function
(){
return
(
new
THREE
.
Color
).
setRGB
(
this
.
r
,
this
.
g
,
this
.
b
)}};
THREE
.
ColorKeywords
=
{
aliceblue
:
15792383
,
antiquewhite
:
16444375
,
aqua
:
65535
,
aquamarine
:
8388564
,
azure
:
15794175
,
beige
:
16119260
,
bisque
:
16770244
,
black
:
0
,
blanchedalmond
:
16772045
,
blue
:
255
,
blueviolet
:
9055202
,
brown
:
10824234
,
burlywood
:
14596231
,
cadetblue
:
6266528
,
chartreuse
:
8388352
,
chocolate
:
13789470
,
coral
:
16744272
,
cornflowerblue
:
6591981
,
cornsilk
:
16775388
,
crimson
:
14423100
,
cyan
:
65535
,
darkblue
:
139
,
darkcyan
:
35723
,
darkgoldenrod
:
12092939
,
darkgray
:
11119017
,
darkgreen
:
25600
,
darkgrey
:
11119017
,
darkkhaki
:
12433259
,
darkmagenta
:
9109643
,
THREE
.
ColorKeywords
=
{
aliceblue
:
15792383
,
antiquewhite
:
16444375
,
aqua
:
65535
,
aquamarine
:
8388564
,
azure
:
15794175
,
beige
:
16119260
,
bisque
:
16770244
,
black
:
0
,
blanchedalmond
:
16772045
,
blue
:
255
,
blueviolet
:
9055202
,
brown
:
10824234
,
burlywood
:
14596231
,
cadetblue
:
6266528
,
chartreuse
:
8388352
,
chocolate
:
13789470
,
coral
:
16744272
,
cornflowerblue
:
6591981
,
cornsilk
:
16775388
,
crimson
:
14423100
,
cyan
:
65535
,
darkblue
:
139
,
darkcyan
:
35723
,
darkgoldenrod
:
12092939
,
darkgray
:
11119017
,
darkgreen
:
25600
,
darkgrey
:
11119017
,
darkkhaki
:
12433259
,
darkmagenta
:
9109643
,
darkolivegreen
:
5597999
,
darkorange
:
16747520
,
darkorchid
:
10040012
,
darkred
:
9109504
,
darksalmon
:
15308410
,
darkseagreen
:
9419919
,
darkslateblue
:
4734347
,
darkslategray
:
3100495
,
darkslategrey
:
3100495
,
darkturquoise
:
52945
,
darkviolet
:
9699539
,
deeppink
:
16716947
,
deepskyblue
:
49151
,
dimgray
:
6908265
,
dimgrey
:
6908265
,
dodgerblue
:
2003199
,
firebrick
:
11674146
,
floralwhite
:
16775920
,
forestgreen
:
2263842
,
fuchsia
:
16711935
,
gainsboro
:
14474460
,
ghostwhite
:
16316671
,
gold
:
16766720
,
goldenrod
:
14329120
,
gray
:
8421504
,
green
:
32768
,
greenyellow
:
11403055
,
darkolivegreen
:
5597999
,
darkorange
:
16747520
,
darkorchid
:
10040012
,
darkred
:
9109504
,
darksalmon
:
15308410
,
darkseagreen
:
9419919
,
darkslateblue
:
4734347
,
darkslategray
:
3100495
,
darkslategrey
:
3100495
,
darkturquoise
:
52945
,
darkviolet
:
9699539
,
deeppink
:
16716947
,
deepskyblue
:
49151
,
dimgray
:
6908265
,
dimgrey
:
6908265
,
dodgerblue
:
2003199
,
firebrick
:
11674146
,
floralwhite
:
16775920
,
forestgreen
:
2263842
,
fuchsia
:
16711935
,
gainsboro
:
14474460
,
ghostwhite
:
16316671
,
gold
:
16766720
,
goldenrod
:
14329120
,
gray
:
8421504
,
green
:
32768
,
greenyellow
:
11403055
,
grey
:
8421504
,
honeydew
:
15794160
,
hotpink
:
16738740
,
indianred
:
13458524
,
indigo
:
4915330
,
ivory
:
16777200
,
khaki
:
15787660
,
lavender
:
15132410
,
lavenderblush
:
16773365
,
lawngreen
:
8190976
,
lemonchiffon
:
16775885
,
lightblue
:
11393254
,
lightcoral
:
15761536
,
lightcyan
:
14745599
,
lightgoldenrodyellow
:
16448210
,
lightgray
:
13882323
,
lightgreen
:
9498256
,
lightgrey
:
13882323
,
lightpink
:
16758465
,
lightsalmon
:
16752762
,
lightseagreen
:
2142890
,
lightskyblue
:
8900346
,
lightslategray
:
7833753
,
lightslategrey
:
7833753
,
lightsteelblue
:
11584734
,
lightyellow
:
16777184
,
grey
:
8421504
,
honeydew
:
15794160
,
hotpink
:
16738740
,
indianred
:
13458524
,
indigo
:
4915330
,
ivory
:
16777200
,
khaki
:
15787660
,
lavender
:
15132410
,
lavenderblush
:
16773365
,
lawngreen
:
8190976
,
lemonchiffon
:
16775885
,
lightblue
:
11393254
,
lightcoral
:
15761536
,
lightcyan
:
14745599
,
lightgoldenrodyellow
:
16448210
,
lightgray
:
13882323
,
lightgreen
:
9498256
,
lightgrey
:
13882323
,
lightpink
:
16758465
,
lightsalmon
:
16752762
,
lightseagreen
:
2142890
,
lightskyblue
:
8900346
,
lightslategray
:
7833753
,
lightslategrey
:
7833753
,
lightsteelblue
:
11584734
,
lightyellow
:
16777184
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录