We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe2a12c commit 28739e4Copy full SHA for 28739e4
examples/jsm/effects/AsciiEffect.js
@@ -118,8 +118,6 @@ class AsciiEffect {
118
}
119
120
121
- const aDefaultCharList = ( ' .,:;i1tfLCG08@' ).split( '' );
122
- const aDefaultColorCharList = ( ' CGO08@' ).split( '' );
123
const strFont = 'courier new, monospace';
124
125
const oCanvasImg = renderer.domElement;
@@ -138,9 +136,11 @@ class AsciiEffect {
138
136
139
137
140
+ const aDefaultCharList = ( ' .,:;i1tfLCG08@' ).split( '' );
+ const aDefaultColorCharList = ( ' CGO08@' ).split( '' );
141
let aCharList = ( bColor ? aDefaultColorCharList : aDefaultCharList );
142
143
- if ( charSet ) aCharList = charSet;
+ if ( charSet ) aCharList = ( charSet ).split( '' );
144
145
// Setup dom
146
0 commit comments