Skip to content

Commit 8570a87

Browse files
authored
Update index.html
1 parent d1f106b commit 8570a87

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

index.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@
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

@@ -514,8 +514,8 @@
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);
@@ -541,8 +541,8 @@
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

0 commit comments

Comments
 (0)