File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 371371
372372 // エッジを生成し、ぼかしを適用
373373 function createBlurredEdge ( startDensity , endDensity , radius ) {
374- const width = 40 ;
374+ const width = 20 ;
375375 const gradient = [ ] ;
376376 const edgePosition = width / 2 ;
377377
514514 }
515515
516516 // 垂直グリッド
517- for ( let i = 0 ; i <= 40 ; i ++ ) {
518- const x = graphX + ( graphWidth / 40 ) * i ;
517+ for ( let i = 0 ; i <= 20 ; i ++ ) {
518+ const x = graphX + ( graphWidth / 20 ) * i ;
519519 ctx . beginPath ( ) ;
520520 ctx . moveTo ( x , graphY ) ;
521521 ctx . lineTo ( x , graphY + graphHeight ) ;
541541 ctx . fillStyle = '#666' ;
542542 ctx . font = '10px Arial' ;
543543 ctx . textAlign = 'center' ;
544- for ( let i = 0 ; i <= 40 ; i += 5 ) {
545- const x = graphX + ( graphWidth / 40 ) * i ;
544+ for ( let i = 0 ; i <= 20 ; i += 5 ) {
545+ const x = graphX + ( graphWidth / 20 ) * i ;
546546 ctx . fillText ( i . toString ( ) , x , graphY + graphHeight + 15 ) ;
547547 }
548548
You can’t perform that action at this time.
0 commit comments