From 78c3e88c656e5435d3a3689f3b536cbbf2a9f3ca Mon Sep 17 00:00:00 2001 From: Alex Dowad Date: Sun, 7 Jul 2024 18:58:37 +0200 Subject: [PATCH] Make some lines a bit darker In dark mode, we are now changing the background of these lines to #888; so the lines need to be a bit darker to be seen. --- _posts/2024-07-04-complex-sin-and-cos.html | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/_posts/2024-07-04-complex-sin-and-cos.html b/_posts/2024-07-04-complex-sin-and-cos.html index 7b8410c..36294cc 100644 --- a/_posts/2024-07-04-complex-sin-and-cos.html +++ b/_posts/2024-07-04-complex-sin-and-cos.html @@ -2071,28 +2071,28 @@

Digression: Most Complex Functions Don't Have a Derivative

x1: '25', x2: '25', y1: '45', y2: '55', stroke: '#111', "stroke-width": '0.3' }); prependSvgNode(svg, 'line', undefined, { - x1: '25', x2: '25', y1: '0', y2: '100', stroke: '#888', "stroke-width": '0.2' + x1: '25', x2: '25', y1: '0', y2: '100', stroke: '#666', "stroke-width": '0.2' }); prependSvgNode(svg, 'text', 'axislabel', { x: '25.3', y: '49.5' }).textContent = '-1'; prependSvgNode(svg, 'line', undefined, { x1: '75', x2: '75', y1: '45', y2: '55', stroke: '#111', "stroke-width": '0.3' }); prependSvgNode(svg, 'line', undefined, { - x1: '75', x2: '75', y1: '0', y2: '100', stroke: '#888', "stroke-width": '0.2' + x1: '75', x2: '75', y1: '0', y2: '100', stroke: '#666', "stroke-width": '0.2' }); prependSvgNode(svg, 'text', 'axislabel', { x: '75.3', y: '49.5' }).textContent = '1'; prependSvgNode(svg, 'line', undefined, { y1: '25', y2: '25', x1: '45', x2: '55', stroke: '#111', "stroke-width": '0.3' }); prependSvgNode(svg, 'line', undefined, { - y1: '25', y2: '25', x1: '0', x2: '100', stroke: '#888', "stroke-width": '0.2' + y1: '25', y2: '25', x1: '0', x2: '100', stroke: '#666', "stroke-width": '0.2' }); prependSvgNode(svg, 'text', 'axislabel', { x: '50.5', y: '24.3' }).textContent = 'i'; prependSvgNode(svg, 'line', undefined, { y1: '75', y2: '75', x1: '45', x2: '55', stroke: '#111', "stroke-width": '0.3' }); prependSvgNode(svg, 'line', undefined, { - y1: '75', y2: '75', x1: '0', x2: '100', stroke: '#888', "stroke-width": '0.2' + y1: '75', y2: '75', x1: '0', x2: '100', stroke: '#666', "stroke-width": '0.2' }); prependSvgNode(svg, 'text', 'axislabel', { x: '50.5', y: '74.3' }).textContent = '-i'; const halfPiDist = Math.PI/scale*50; @@ -2100,28 +2100,28 @@

Digression: Most Complex Functions Don't Have a Derivative

x1: String(50 - halfPiDist), x2: String(50 - halfPiDist), y1: '45', y2: '55', stroke: '#111', "stroke-width": '0.3' }); prependSvgNode(svg, 'line', undefined, { - x1: String(50 - halfPiDist), x2: String(50 - halfPiDist), y1: '0', y2: '100', stroke: '#888', "stroke-width": '0.2' + x1: String(50 - halfPiDist), x2: String(50 - halfPiDist), y1: '0', y2: '100', stroke: '#666', "stroke-width": '0.2' }); prependSvgNode(svg, 'text', 'axislabel', { x: String(50 - halfPiDist + 0.3), y: '49.5' }).textContent = '-π/2'; prependSvgNode(svg, 'line', undefined, { x1: String(50 + halfPiDist), x2: String(50 + halfPiDist), y1: '45', y2: '55', stroke: '#111', "stroke-width": '0.3' }); prependSvgNode(svg, 'line', undefined, { - x1: String(50 + halfPiDist), x2: String(50 + halfPiDist), y1: '0', y2: '100', stroke: '#888', "stroke-width": '0.2' + x1: String(50 + halfPiDist), x2: String(50 + halfPiDist), y1: '0', y2: '100', stroke: '#666', "stroke-width": '0.2' }); prependSvgNode(svg, 'text', 'axislabel', { x: String(50 + halfPiDist + 0.3), y: '49.5' }).textContent = 'π/2'; prependSvgNode(svg, 'line', undefined, { y1: String(50 - halfPiDist), y2: String(50 - halfPiDist), x1: '45', x2: '55', stroke: '#111', "stroke-width": '0.3' }); prependSvgNode(svg, 'line', undefined, { - y1: String(50 - halfPiDist), y2: String(50 - halfPiDist), x1: '0', x2: '100', stroke: '#888', "stroke-width": '0.2' + y1: String(50 - halfPiDist), y2: String(50 - halfPiDist), x1: '0', x2: '100', stroke: '#666', "stroke-width": '0.2' }); prependSvgNode(svg, 'text', 'axislabel', { x: '50.5', y: String(50 - halfPiDist - 0.7) }).textContent = 'iπ/2'; prependSvgNode(svg, 'line', undefined, { y1: String(50 + halfPiDist), y2: String(50 + halfPiDist), x1: '45', x2: '55', stroke: '#111', "stroke-width": '0.3' }); prependSvgNode(svg, 'line', undefined, { - y1: String(50 + halfPiDist), y2: String(50 + halfPiDist), x1: '0', x2: '100', stroke: '#888', "stroke-width": '0.2' + y1: String(50 + halfPiDist), y2: String(50 + halfPiDist), x1: '0', x2: '100', stroke: '#666', "stroke-width": '0.2' }); prependSvgNode(svg, 'text', 'axislabel', { x: '50.5', y: String(50 + halfPiDist - 0.7) }).textContent = '-iπ/2';