File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 55 < meta name ="author " content ="IP.AF ">
66 < meta charset ="utf-8 ">
77 < link rel ="stylesheet " type ="text/css " href ="./index.css " media ="screen " />
8- < script src ="https://cdnjs.cloudflare.com/ajax/libs/dat -gui/0.5/dat.gui.min.js "> </ script >
8+ < script src ="https://cdn.jsdelivr.net/npm/lil -gui@0.19 "> </ script >
99 < script type ="text/javascript " src ="./index.js "> </ script >
1010</ head >
1111
Original file line number Diff line number Diff line change @@ -21,8 +21,8 @@ window.onload = function () {
2121 ui_other_codesCommaSeparated : "THE MATRIX" ,
2222 codes : makeCodes ( "THE MATRIX" ) ,
2323 ui_color_colorMode : "2" ,
24- ui_color_matrixColor : [ 0 , 255 , 0 ] ,
25- matrixColor : rgbToHue ( [ 0 , 255 , 0 ] ) ,
24+ ui_color_matrixColor : [ 0 , 1 , 0 ] ,
25+ matrixColor : rgbToHue ( [ 0 , 1 , 0 ] ) ,
2626 ui_color_colorAnimationSpeed : 0.5 ,
2727 colorAnimationSpeed : calculateColorAnimationSpeed ( 0.5 ) ,
2828 ui_color_highlightFirstCharacter : true ,
@@ -40,9 +40,8 @@ window.onload = function () {
4040 drawGui ( ) ;
4141
4242 function drawGui ( ) {
43- gui = new dat . GUI ( { autoPlace : false } )
44- gui . width = 400 ;
45-
43+ gui = new lil . GUI ( { autoPlace : false } ) ;
44+
4645 const rainFolder = gui . addFolder ( 'Rain' ) ;
4746 rainFolder . add ( options , 'ui_rain_matrixSpeed' ) . min ( 1 ) . max ( 60 ) . step ( 1 ) . name ( 'Matrix Speed' ) . onChange ( ( ) => {
4847 options . fpsInterval = calculateFpsInterval ( options . ui_rain_matrixSpeed ) ;
You can’t perform that action at this time.
0 commit comments