@tscircuit/schematic-trace-solver 0.0.87 → 0.0.88
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.agents/skills/schematic-trace-visualization/SKILL.md +115 -0
- package/.github/scripts/import-json-bug-report.ts +15 -1
- package/.github/workflows/json-bug-report.yml +3 -2
- package/AGENTS.md +22 -0
- package/lib/testing/PipelineStageDebugRunner.ts +344 -0
- package/package.json +3 -2
- package/scripts/debug-pipeline-stages.ts +146 -0
- package/site/bug-reports/bug-report-20260706T220324Z.page.tsx +4 -0
- package/site/bug-reports/bug-report-20260707T020342Z.page.tsx +4 -0
- package/site/bug-reports/bug-report-20260707T092615Z.page.tsx +4 -0
- package/site/bug-reports/bug-report-20260707T134549Z.page.tsx +4 -0
- package/site/bug-reports/bug-report-20260707T134722Z.page.tsx +4 -0
- package/site/bug-reports/bug-report-20260707T140410Z.page.tsx +4 -0
- package/site/bug-reports/bug-report-20260707T141025Z.page.tsx +4 -0
- package/site/bug-reports/bug-report-20260707T141421Z.page.tsx +4 -0
- package/tests/bug-reports/bug-report-20260706T220324Z/__snapshots__/bug-report-20260706T220324Z.snap.svg +357 -3448
- package/tests/bug-reports/bug-report-20260707T020342Z/__snapshots__/bug-report-20260707T020342Z.snap.svg +64 -0
- package/tests/bug-reports/bug-report-20260707T020342Z/bug-report-20260707T020342Z.json +233 -0
- package/tests/bug-reports/bug-report-20260707T020342Z/bug-report-20260707T020342Z.test.ts +12 -0
- package/tests/bug-reports/bug-report-20260707T092615Z/__snapshots__/bug-report-20260707T092615Z.snap.svg +2098 -0
- package/tests/bug-reports/bug-report-20260707T092615Z/bug-report-20260707T092615Z.json +1392 -0
- package/tests/bug-reports/bug-report-20260707T092615Z/bug-report-20260707T092615Z.test.ts +12 -0
- package/tests/bug-reports/bug-report-20260707T134549Z/__snapshots__/bug-report-20260707T134549Z.snap.svg +857 -0
- package/tests/bug-reports/bug-report-20260707T134549Z/bug-report-20260707T134549Z.json +652 -0
- package/tests/bug-reports/bug-report-20260707T134549Z/bug-report-20260707T134549Z.test.ts +12 -0
- package/tests/bug-reports/bug-report-20260707T134722Z/__snapshots__/bug-report-20260707T134722Z.snap.svg +275 -0
- package/tests/bug-reports/bug-report-20260707T134722Z/bug-report-20260707T134722Z.json +265 -0
- package/tests/bug-reports/bug-report-20260707T134722Z/bug-report-20260707T134722Z.test.ts +12 -0
- package/tests/bug-reports/bug-report-20260707T140410Z/__snapshots__/bug-report-20260707T140410Z.snap.svg +950 -0
- package/tests/bug-reports/bug-report-20260707T140410Z/bug-report-20260707T140410Z.json +610 -0
- package/tests/bug-reports/bug-report-20260707T140410Z/bug-report-20260707T140410Z.test.ts +12 -0
- package/tests/bug-reports/bug-report-20260707T141025Z/__snapshots__/bug-report-20260707T141025Z.snap.svg +218 -0
- package/tests/bug-reports/bug-report-20260707T141025Z/bug-report-20260707T141025Z.json +185 -0
- package/tests/bug-reports/bug-report-20260707T141025Z/bug-report-20260707T141025Z.test.ts +12 -0
- package/tests/bug-reports/bug-report-20260707T141421Z/__snapshots__/bug-report-20260707T141421Z.snap.svg +613 -0
- package/tests/bug-reports/bug-report-20260707T141421Z/bug-report-20260707T141421Z.json +499 -0
- package/tests/bug-reports/bug-report-20260707T141421Z/bug-report-20260707T141421Z.test.ts +12 -0
- package/tests/examples/__snapshots__/example01.snap.svg +59 -162
- package/tests/examples/__snapshots__/example02.snap.svg +64 -273
- package/tests/examples/__snapshots__/example03.snap.svg +85 -290
- package/tests/examples/__snapshots__/example04.snap.svg +50 -94
- package/tests/examples/__snapshots__/example05.snap.svg +73 -191
- package/tests/examples/__snapshots__/example06.snap.svg +49 -95
- package/tests/examples/__snapshots__/example07.snap.svg +65 -218
- package/tests/examples/__snapshots__/example08.snap.svg +61 -143
- package/tests/examples/__snapshots__/example09.snap.svg +123 -493
- package/tests/examples/__snapshots__/example10.snap.svg +57 -136
- package/tests/examples/__snapshots__/example11.snap.svg +64 -173
- package/tests/examples/__snapshots__/example12.snap.svg +58 -159
- package/tests/examples/__snapshots__/example13.snap.svg +78 -348
- package/tests/examples/__snapshots__/example14.snap.svg +77 -293
- package/tests/examples/__snapshots__/example15.snap.svg +140 -984
- package/tests/examples/__snapshots__/example16.snap.svg +62 -162
- package/tests/examples/__snapshots__/example17.snap.svg +67 -198
- package/tests/examples/__snapshots__/example18.snap.svg +69 -249
- package/tests/examples/__snapshots__/example19.snap.svg +63 -202
- package/tests/examples/__snapshots__/example20.snap.svg +60 -148
- package/tests/examples/__snapshots__/example21.snap.svg +73 -298
- package/tests/examples/__snapshots__/example22.snap.svg +62 -156
- package/tests/examples/__snapshots__/example23.snap.svg +66 -172
- package/tests/examples/__snapshots__/example24.snap.svg +64 -164
- package/tests/examples/__snapshots__/example25.snap.svg +76 -299
- package/tests/examples/__snapshots__/example26.snap.svg +64 -164
- package/tests/examples/__snapshots__/example27.snap.svg +83 -300
- package/tests/examples/__snapshots__/example28.snap.svg +54 -115
- package/tests/examples/__snapshots__/example29.snap.svg +257 -1299
- package/tests/examples/__snapshots__/example30.snap.svg +91 -293
- package/tests/examples/__snapshots__/example31.snap.svg +47 -88
- package/tests/examples/__snapshots__/example32.snap.svg +107 -405
- package/tests/examples/__snapshots__/example33.snap.svg +71 -180
- package/tests/examples/__snapshots__/example34.snap.svg +55 -116
- package/tests/examples/__snapshots__/example35.snap.svg +69 -176
- package/tests/examples/__snapshots__/example36.snap.svg +65 -159
- package/tests/examples/__snapshots__/example37.snap.svg +75 -223
- package/tests/examples/__snapshots__/example38.snap.svg +46 -76
- package/tests/examples/__snapshots__/example39.snap.svg +51 -106
- package/tests/examples/__snapshots__/example40.snap.svg +83 -270
- package/tests/examples/__snapshots__/example41.snap.svg +54 -118
- package/tests/examples/__snapshots__/example42.snap.svg +67 -194
- package/tests/examples/__snapshots__/example43.snap.svg +62 -168
- package/tests/examples/__snapshots__/example44.snap.svg +86 -369
- package/tests/examples/__snapshots__/example45.snap.svg +60 -169
- package/tests/examples/__snapshots__/example46.snap.svg +80 -342
- package/tests/examples/__snapshots__/example47.snap.svg +82 -323
- package/tests/examples/__snapshots__/example48.snap.svg +64 -167
- package/tests/examples/__snapshots__/example49.snap.svg +120 -565
- package/tests/examples/__snapshots__/example50.snap.svg +71 -189
- package/tests/fixtures/getLastStepGraphicsObject.ts +38 -0
- package/tests/fixtures/getLastStepSvg.ts +9 -0
- package/tests/repros/__snapshots__/bugreport-001-gnd-overlap.snap.svg +67 -218
- package/tests/repros/__snapshots__/manufacturePartNumber-text-box.snap.svg +47 -87
- package/tests/repros/__snapshots__/netlabel-connector-through-rail-label.snap.svg +73 -272
- package/tests/repros/__snapshots__/repro-atmega328p-fault-pullup.snap.svg +284 -0
- package/tests/repros/__snapshots__/repro-atmega328p-missing-gnd-netlabel.snap.svg +470 -0
- package/tests/repros/__snapshots__/repro-bq24074-battery-charger.snap.svg +94 -395
- package/tests/repros/__snapshots__/repro-cc2340r5.snap.svg +88 -467
- package/tests/repros/__snapshots__/repro-ina237-current-monitor.snap.svg +109 -569
- package/tests/repros/__snapshots__/repro130-bq27441-fuel-gauge-trace-through-c1.snap.svg +95 -459
- package/tests/repros/__snapshots__/repro51-overlap-junction-crossing.snap.svg +64 -176
- package/tests/repros/__snapshots__/trace-overlap-box-resistor.snap.svg +51 -112
- package/tests/repros/assets/repro-atmega328p-fault-pullup.input.json +239 -0
- package/tests/repros/assets/repro-atmega328p-missing-gnd-netlabel.input.json +432 -0
- package/tests/repros/repro-atmega328p-fault-pullup.test.ts +11 -0
- package/tests/repros/repro-atmega328p-missing-gnd-netlabel.test.ts +16 -0
- package/tests/solvers/SchematicTraceSingleLineSolver2/__snapshots__/SchematicTraceSingleLineSolver2_01-example17-d1_1-u1_1.snap.svg +59 -159
- package/tests/solvers/TraceCleanupSolver/__snapshots__/TraceCleanupSolver.snap.svg +54 -118
- package/tests/solvers/TraceLabelOverlapAvoidanceSolver/__snapshots__/TraceLabelOverlapAvoidanceSolver.snap.svg +58 -245
- package/tests/solvers/TraceLabelOverlapAvoidanceSolver/renderComparisonView/__snapshots__/renderComparisonView01.snap.svg +73 -222
- package/tests/solvers/TraceLabelOverlapAvoidanceSolver/renderComparisonView/__snapshots__/renderComparisonView02.snap.svg +65 -204
- package/tests/solvers/TraceLabelOverlapAvoidanceSolver/renderComparisonView/__snapshots__/renderComparisonView03.snap.svg +65 -183
- package/tests/solvers/TraceLabelOverlapAvoidanceSolver/sub-solver/__snapshots__/MergedNetLabelObstacles.snap.svg +54 -139
- package/tests/solvers/TraceLabelOverlapAvoidanceSolver/sub-solver/__snapshots__/OverlapAvoidanceStepSolver.snap.svg +61 -215
- package/tests/solvers/TraceLabelOverlapAvoidanceSolver/sub-solver/__snapshots__/SingleOverlapSolver.snap.svg +54 -124
|
@@ -1,301 +1,84 @@
|
|
|
1
|
-
<svg width="640" height="640" viewBox="0 0 640 640" xmlns="http://www.w3.org/2000/svg"
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
x-" data-x="-1.3" data-y="-0.
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
x
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
x
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
x-" data-x="
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
x
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
x
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
x+" data-x="-3.4" data-y="-0.49999999999999994" cx="113.04347826086953" cy="347.4217391304348" r="3" fill="hsl(0, 100%, 50%, 0.8)" />
|
|
62
|
-
</g>
|
|
63
|
-
<g>
|
|
64
|
-
<circle data-type="point" data-label="JP1.4
|
|
65
|
-
x+" data-x="-3.4" data-y="-0.2999999999999999" cx="113.04347826086953" cy="335.24782608695654" r="3" fill="hsl(1, 100%, 50%, 0.8)" />
|
|
66
|
-
</g>
|
|
67
|
-
<g>
|
|
68
|
-
<circle data-type="point" data-label="JP1.5
|
|
69
|
-
x+" data-x="-3.4" data-y="-0.09999999999999992" cx="113.04347826086953" cy="323.0739130434783" r="3" fill="hsl(2, 100%, 50%, 0.8)" />
|
|
70
|
-
</g>
|
|
71
|
-
<g>
|
|
72
|
-
<circle data-type="point" data-label="JP1.6
|
|
73
|
-
x+" data-x="-3.4" data-y="0.10000000000000003" cx="113.04347826086953" cy="310.90000000000003" r="3" fill="hsl(3, 100%, 50%, 0.8)" />
|
|
74
|
-
</g>
|
|
75
|
-
<g>
|
|
76
|
-
<circle data-type="point" data-label="JP1.7
|
|
77
|
-
x+" data-x="-3.4" data-y="0.3" cx="113.04347826086953" cy="298.7260869565218" r="3" fill="hsl(4, 100%, 50%, 0.8)" />
|
|
78
|
-
</g>
|
|
79
|
-
<g>
|
|
80
|
-
<circle data-type="point" data-label="JP2.1
|
|
81
|
-
x-" data-x="3.4" data-y="-0.8999999999999999" cx="526.9565217391305" cy="371.76956521739135" r="3" fill="hsl(239, 100%, 50%, 0.8)" />
|
|
82
|
-
</g>
|
|
83
|
-
<g>
|
|
84
|
-
<circle data-type="point" data-label="JP2.2
|
|
85
|
-
x-" data-x="3.4" data-y="-0.7" cx="526.9565217391305" cy="359.5956521739131" r="3" fill="hsl(240, 100%, 50%, 0.8)" />
|
|
86
|
-
</g>
|
|
87
|
-
<g>
|
|
88
|
-
<circle data-type="point" data-label="JP2.3
|
|
89
|
-
x-" data-x="3.4" data-y="-0.5" cx="526.9565217391305" cy="347.42173913043484" r="3" fill="hsl(241, 100%, 50%, 0.8)" />
|
|
90
|
-
</g>
|
|
91
|
-
<g>
|
|
92
|
-
<circle data-type="point" data-label="JP2.4
|
|
93
|
-
x-" data-x="3.4" data-y="-0.3000000000000001" cx="526.9565217391305" cy="335.24782608695654" r="3" fill="hsl(242, 100%, 50%, 0.8)" />
|
|
94
|
-
</g>
|
|
95
|
-
<g>
|
|
96
|
-
<circle data-type="point" data-label="JP2.5
|
|
97
|
-
x-" data-x="3.4" data-y="-0.10000000000000003" cx="526.9565217391305" cy="323.0739130434783" r="3" fill="hsl(243, 100%, 50%, 0.8)" />
|
|
98
|
-
</g>
|
|
99
|
-
<g>
|
|
100
|
-
<circle data-type="point" data-label="JP2.6
|
|
101
|
-
x-" data-x="3.4" data-y="0.09999999999999998" cx="526.9565217391305" cy="310.90000000000003" r="3" fill="hsl(244, 100%, 50%, 0.8)" />
|
|
102
|
-
</g>
|
|
103
|
-
<g>
|
|
104
|
-
<circle data-type="point" data-label="JP2.7
|
|
105
|
-
x-" data-x="3.4" data-y="0.3" cx="526.9565217391305" cy="298.7260869565218" r="3" fill="hsl(245, 100%, 50%, 0.8)" />
|
|
106
|
-
</g>
|
|
107
|
-
<g>
|
|
108
|
-
<circle data-type="point" data-label="anchorPoint
|
|
109
|
-
orientation: y+" data-x="-0.2" data-y="1.4" cx="307.82608695652175" cy="231.76956521739135" r="3" fill="hsl(40, 100%, 50%, 0.9)" />
|
|
110
|
-
</g>
|
|
111
|
-
<g>
|
|
112
|
-
<circle data-type="point" data-label="anchorPoint
|
|
113
|
-
orientation: x+" data-x="-3.4" data-y="-0.7" cx="113.04347826086953" cy="359.5956521739131" r="3" fill="hsl(40, 100%, 50%, 0.9)" />
|
|
114
|
-
</g>
|
|
115
|
-
<g>
|
|
116
|
-
<circle data-type="point" data-label="anchorPoint
|
|
117
|
-
orientation: y+" data-x="-2.35" data-y="0.1" cx="176.9565217391304" cy="310.90000000000003" r="3" fill="hsl(40, 100%, 50%, 0.9)" />
|
|
118
|
-
</g>
|
|
119
|
-
<g>
|
|
120
|
-
<circle data-type="point" data-label="anchorPoint
|
|
121
|
-
orientation: y-" data-x="0" data-y="-1.5999999999999999" cx="320" cy="414.3782608695652" r="3" fill="hsl(40, 100%, 50%, 0.9)" />
|
|
122
|
-
</g>
|
|
123
|
-
<g>
|
|
124
|
-
<circle data-type="point" data-label="anchorPoint
|
|
125
|
-
orientation: y+" data-x="2.35" data-y="0.10000000000000003" cx="463.0434782608696" cy="310.90000000000003" r="3" fill="hsl(40, 100%, 50%, 0.9)" />
|
|
126
|
-
</g>
|
|
127
|
-
<g>
|
|
128
|
-
<circle data-type="point" data-label="anchorPoint
|
|
129
|
-
orientation: y+" data-x="0.2" data-y="1.4" cx="332.17391304347825" cy="231.76956521739135" r="3" fill="hsl(80, 100%, 50%, 0.9)" />
|
|
130
|
-
</g>
|
|
131
|
-
<g>
|
|
132
|
-
<circle data-type="point" data-label="anchorPoint
|
|
133
|
-
orientation: x-" data-x="3.4" data-y="-0.7" cx="526.9565217391305" cy="359.5956521739131" r="3" fill="hsl(80, 100%, 50%, 0.9)" />
|
|
134
|
-
</g>
|
|
135
|
-
<g>
|
|
136
|
-
<polyline data-points="-3.4,-0.8999999999999999 0,-1.4" data-type="line" data-label="" points="113.04347826086953,371.76956521739135 320,402.204347826087" fill="none" stroke="hsl(336, 100%, 50%, 0.8)" stroke-width="1" />
|
|
137
|
-
</g>
|
|
138
|
-
<g>
|
|
139
|
-
<polyline data-points="-3.4,-0.49999999999999994 -1.3,-0.5" data-type="line" data-label="" points="113.04347826086953,347.4217391304348 240.8695652173913,347.42173913043484" fill="none" stroke="hsl(336, 100%, 50%, 0.8)" stroke-width="1" />
|
|
140
|
-
</g>
|
|
141
|
-
<g>
|
|
142
|
-
<polyline data-points="-3.4,-0.2999999999999999 -1.3,-0.30000000000000004" data-type="line" data-label="" points="113.04347826086953,335.24782608695654 240.8695652173913,335.24782608695654" fill="none" stroke="hsl(336, 100%, 50%, 0.8)" stroke-width="1" />
|
|
143
|
-
</g>
|
|
144
|
-
<g>
|
|
145
|
-
<polyline data-points="-3.4,-0.09999999999999992 -1.3,-0.10000000000000009" data-type="line" data-label="" points="113.04347826086953,323.0739130434783 240.8695652173913,323.0739130434783" fill="none" stroke="hsl(336, 100%, 50%, 0.8)" stroke-width="1" />
|
|
146
|
-
</g>
|
|
147
|
-
<g>
|
|
148
|
-
<polyline data-points="-3.4,0.10000000000000003 -1.3,0.09999999999999998" data-type="line" data-label="" points="113.04347826086953,310.90000000000003 240.8695652173913,310.90000000000003" fill="none" stroke="hsl(336, 100%, 50%, 0.8)" stroke-width="1" />
|
|
149
|
-
</g>
|
|
150
|
-
<g>
|
|
151
|
-
<polyline data-points="3.4,-0.5 1.3,-0.5" data-type="line" data-label="" points="526.9565217391305,347.42173913043484 399.1304347826087,347.42173913043484" fill="none" stroke="hsl(24, 100%, 50%, 0.8)" stroke-width="1" />
|
|
152
|
-
</g>
|
|
153
|
-
<g>
|
|
154
|
-
<polyline data-points="3.4,-0.3000000000000001 1.3,-0.3" data-type="line" data-label="" points="526.9565217391305,335.24782608695654 399.1304347826087,335.24782608695654" fill="none" stroke="hsl(24, 100%, 50%, 0.8)" stroke-width="1" />
|
|
155
|
-
</g>
|
|
156
|
-
<g>
|
|
157
|
-
<polyline data-points="3.4,-0.10000000000000003 1.3,-0.09999999999999998" data-type="line" data-label="" points="526.9565217391305,323.0739130434783 399.1304347826087,323.0739130434783" fill="none" stroke="hsl(24, 100%, 50%, 0.8)" stroke-width="1" />
|
|
158
|
-
</g>
|
|
159
|
-
<g>
|
|
160
|
-
<polyline data-points="3.4,0.09999999999999998 1.3,0.10000000000000009" data-type="line" data-label="" points="526.9565217391305,310.90000000000003 399.1304347826087,310.90000000000003" fill="none" stroke="hsl(24, 100%, 50%, 0.8)" stroke-width="1" />
|
|
161
|
-
</g>
|
|
162
|
-
<g>
|
|
163
|
-
<polyline data-points="-0.2,1.4 -3.4,-0.7" data-type="line" data-label="" points="307.82608695652175,231.76956521739135 113.04347826086953,359.5956521739131" fill="none" stroke="hsl(73, 100%, 50%, 0.8)" stroke-width="1" stroke-dasharray="4 2" />
|
|
164
|
-
</g>
|
|
165
|
-
<g>
|
|
166
|
-
<polyline data-points="0,-1.4 -3.4,-0.8999999999999999" data-type="line" data-label="" points="320,402.204347826087 113.04347826086953,371.76956521739135" fill="none" stroke="hsl(157, 100%, 50%, 0.8)" stroke-width="1" stroke-dasharray="4 2" />
|
|
167
|
-
</g>
|
|
168
|
-
<g>
|
|
169
|
-
<polyline data-points="0,-1.4 3.4,-0.8999999999999999" data-type="line" data-label="" points="320,402.204347826087 526.9565217391305,371.76956521739135" fill="none" stroke="hsl(157, 100%, 50%, 0.8)" stroke-width="1" stroke-dasharray="4 2" />
|
|
170
|
-
</g>
|
|
171
|
-
<g>
|
|
172
|
-
<polyline data-points="-3.4,-0.8999999999999999 3.4,-0.8999999999999999" data-type="line" data-label="" points="113.04347826086953,371.76956521739135 526.9565217391305,371.76956521739135" fill="none" stroke="hsl(157, 100%, 50%, 0.8)" stroke-width="1" stroke-dasharray="4 2" />
|
|
173
|
-
</g>
|
|
174
|
-
<g>
|
|
175
|
-
<polyline data-points="0.2,1.4 3.4,-0.7" data-type="line" data-label="" points="332.17391304347825,231.76956521739135 526.9565217391305,359.5956521739131" fill="none" stroke="hsl(199, 100%, 50%, 0.8)" stroke-width="1" stroke-dasharray="4 2" />
|
|
176
|
-
</g>
|
|
177
|
-
<g>
|
|
178
|
-
<polyline data-points="0,-1.4 0,-1.5999999999999999 -1.7,-1.5999999999999999 -1.7,-0.8999999999999999 -3.4,-0.8999999999999999" data-type="line" data-label="" points="320,402.204347826087 320,414.3782608695652 216.52173913043475,414.3782608695652 216.52173913043475,371.76956521739135 113.04347826086953,371.76956521739135" fill="none" stroke="purple" stroke-width="1" />
|
|
179
|
-
</g>
|
|
180
|
-
<g>
|
|
181
|
-
<polyline data-points="3.4,-0.8999999999999999 1.6999999999999997,-0.8999999999999999 1.6999999999999997,-1.5999999999999999 0,-1.5999999999999999 0,-1.4" data-type="line" data-label="" points="526.9565217391305,371.76956521739135 423.47826086956525,371.76956521739135 423.47826086956525,414.3782608695652 320,414.3782608695652 320,402.204347826087" fill="none" stroke="purple" stroke-width="1" />
|
|
182
|
-
</g>
|
|
183
|
-
<g>
|
|
184
|
-
<polyline data-points="-3.4,-0.49999999999999994 -1.3,-0.5" data-type="line" data-label="" points="113.04347826086953,347.4217391304348 240.8695652173913,347.42173913043484" fill="none" stroke="purple" stroke-width="1" />
|
|
185
|
-
</g>
|
|
186
|
-
<g>
|
|
187
|
-
<polyline data-points="-3.4,-0.2999999999999999 -1.3,-0.30000000000000004" data-type="line" data-label="" points="113.04347826086953,335.24782608695654 240.8695652173913,335.24782608695654" fill="none" stroke="purple" stroke-width="1" />
|
|
188
|
-
</g>
|
|
189
|
-
<g>
|
|
190
|
-
<polyline data-points="-3.4,-0.09999999999999992 -1.3,-0.10000000000000009" data-type="line" data-label="" points="113.04347826086953,323.0739130434783 240.8695652173913,323.0739130434783" fill="none" stroke="purple" stroke-width="1" />
|
|
191
|
-
</g>
|
|
192
|
-
<g>
|
|
193
|
-
<polyline data-points="-3.4,0.10000000000000003 -1.3,0.09999999999999998" data-type="line" data-label="" points="113.04347826086953,310.90000000000003 240.8695652173913,310.90000000000003" fill="none" stroke="purple" stroke-width="1" />
|
|
194
|
-
</g>
|
|
195
|
-
<g>
|
|
196
|
-
<polyline data-points="3.4,-0.5 1.3,-0.5" data-type="line" data-label="" points="526.9565217391305,347.42173913043484 399.1304347826087,347.42173913043484" fill="none" stroke="purple" stroke-width="1" />
|
|
197
|
-
</g>
|
|
198
|
-
<g>
|
|
199
|
-
<polyline data-points="3.4,-0.3000000000000001 1.3,-0.3" data-type="line" data-label="" points="526.9565217391305,335.24782608695654 399.1304347826087,335.24782608695654" fill="none" stroke="purple" stroke-width="1" />
|
|
200
|
-
</g>
|
|
201
|
-
<g>
|
|
202
|
-
<polyline data-points="3.4,-0.10000000000000003 1.3,-0.09999999999999998" data-type="line" data-label="" points="526.9565217391305,323.0739130434783 399.1304347826087,323.0739130434783" fill="none" stroke="purple" stroke-width="1" />
|
|
203
|
-
</g>
|
|
204
|
-
<g>
|
|
205
|
-
<polyline data-points="3.4,0.09999999999999998 1.3,0.10000000000000009" data-type="line" data-label="" points="526.9565217391305,310.90000000000003 399.1304347826087,310.90000000000003" fill="none" stroke="purple" stroke-width="1" />
|
|
206
|
-
</g>
|
|
207
|
-
<g>
|
|
208
|
-
<rect data-type="rect" data-label="schematic_component_0" data-x="0" data-y="0" x="240.8695652173913" y="231.76956521739135" width="158.26086956521738" height="170.43478260869563" fill="hsl(24, 100%, 50%, 0.8)" stroke="black" stroke-width="0.016428571428571428" />
|
|
209
|
-
</g>
|
|
210
|
-
<g>
|
|
211
|
-
<rect data-type="rect" data-label="schematic_component_1" data-x="-4" data-y="-0.3" x="40" y="286.5521739130435" width="73.04347826086953" height="97.39130434782612" fill="hsl(24, 100%, 50%, 0.8)" stroke="black" stroke-width="0.016428571428571428" />
|
|
212
|
-
</g>
|
|
213
|
-
<g>
|
|
214
|
-
<rect data-type="rect" data-label="schematic_component_2" data-x="4" data-y="-0.3" x="526.9565217391305" y="286.5521739130435" width="73.0434782608695" height="97.39130434782612" fill="hsl(24, 100%, 50%, 0.8)" stroke="black" stroke-width="0.016428571428571428" />
|
|
215
|
-
</g>
|
|
216
|
-
<g>
|
|
217
|
-
<rect data-type="rect" data-label="netId: V3_3
|
|
218
|
-
globalConnNetId: connectivity_net9" data-x="-0.2" data-y="1.6009999999999998" x="301.7391304347826" y="207.36086956521743" width="12.173913043478251" height="24.34782608695653" fill="#ef444466" stroke="#ef4444" stroke-width="0.016428571428571428" />
|
|
219
|
-
</g>
|
|
220
|
-
<g>
|
|
221
|
-
<rect data-type="rect" data-label="netId: V3_3
|
|
222
|
-
globalConnNetId: connectivity_net9" data-x="-3.199" data-y="-0.7" x="113.10434782608692" y="353.50869565217397" width="24.34782608695656" height="12.173913043478251" fill="#ef444466" stroke="#ef4444" stroke-width="0.016428571428571428" />
|
|
223
|
-
</g>
|
|
224
|
-
<g>
|
|
225
|
-
<rect data-type="rect" data-label="netId: pinheader.JP1 > port.pin6 to .U1 > .pin2
|
|
226
|
-
globalConnNetId: connectivity_net4" data-x="-2.35" data-y="0.325" x="170.86956521739128" y="283.5086956521739" width="12.17391304347828" height="27.39130434782612" fill="hsl(40, 100%, 50%, 0.35)" stroke="black" stroke-width="0.016428571428571428" />
|
|
227
|
-
</g>
|
|
228
|
-
<g>
|
|
229
|
-
<rect data-type="rect" data-label="netId: GND
|
|
230
|
-
globalConnNetId: connectivity_net0" data-x="0" data-y="-1.7499999999999998" x="313.9130434782609" y="414.3782608695652" width="12.173913043478251" height="18.260869565217376" fill="#00000066" stroke="#000000" stroke-width="0.016428571428571428" />
|
|
231
|
-
</g>
|
|
232
|
-
<g>
|
|
233
|
-
<rect data-type="rect" data-label="netId: pinheader.JP2 > port.pin6 to .U1 > .pin13
|
|
234
|
-
globalConnNetId: connectivity_net8" data-x="2.35" data-y="0.32500000000000007" x="456.95652173913044" y="283.5086956521739" width="12.173913043478308" height="27.39130434782612" fill="hsl(40, 100%, 50%, 0.35)" stroke="black" stroke-width="0.016428571428571428" />
|
|
235
|
-
</g>
|
|
236
|
-
<g>
|
|
237
|
-
<rect data-type="rect" data-label="netId: V5
|
|
238
|
-
globalConnNetId: connectivity_net10" data-x="0.2" data-y="1.501" x="326.0869565217391" y="219.53478260869565" width="12.173913043478251" height="12.173913043478308" fill="#ef444466" stroke="#ef4444" stroke-width="0.016428571428571428" />
|
|
239
|
-
</g>
|
|
240
|
-
<g>
|
|
241
|
-
<rect data-type="rect" data-label="netId: V5
|
|
242
|
-
globalConnNetId: connectivity_net10" data-x="3.299" data-y="-0.7" x="514.7217391304348" y="353.50869565217397" width="12.173913043478251" height="12.173913043478251" fill="#ef444466" stroke="#ef4444" stroke-width="0.016428571428571428" />
|
|
243
|
-
</g>
|
|
244
|
-
<g id="crosshair" style="display: none">
|
|
245
|
-
<line id="crosshair-h" y1="0" y2="640" stroke="#666" stroke-width="0.5" />
|
|
246
|
-
<line id="crosshair-v" x1="0" x2="640" stroke="#666" stroke-width="0.5" /><text id="coordinates" font-family="monospace" font-size="12" fill="#666"></text>
|
|
247
|
-
</g>
|
|
248
|
-
<script>
|
|
249
|
-
<![CDATA[
|
|
250
|
-
document.currentScript.parentElement.addEventListener('mousemove', (e) => {
|
|
251
|
-
const svg = e.currentTarget;
|
|
252
|
-
const rect = svg.getBoundingClientRect();
|
|
253
|
-
const x = e.clientX - rect.left;
|
|
254
|
-
const y = e.clientY - rect.top;
|
|
255
|
-
const crosshair = svg.getElementById('crosshair');
|
|
256
|
-
const h = svg.getElementById('crosshair-h');
|
|
257
|
-
const v = svg.getElementById('crosshair-v');
|
|
258
|
-
const coords = svg.getElementById('coordinates');
|
|
1
|
+
<svg width="640" height="640" viewBox="0 0 640 640" xmlns="http://www.w3.org/2000/svg"><rect width="100%" height="100%" fill="white"/><g><polyline data-points="-3.4,-0.8999999999999999 0,-1.4" data-type="line" data-label="" points="113.04347826086953,371.76956521739135 320,402.204347826087" fill="none" stroke="hsl(336, 100%, 50%, 0.8)" stroke-width="1px"/></g><g><polyline data-points="-3.4,-0.49999999999999994 -1.3,-0.5" data-type="line" data-label="" points="113.04347826086953,347.4217391304348 240.8695652173913,347.42173913043484" fill="none" stroke="hsl(336, 100%, 50%, 0.8)" stroke-width="1px"/></g><g><polyline data-points="-3.4,-0.2999999999999999 -1.3,-0.30000000000000004" data-type="line" data-label="" points="113.04347826086953,335.24782608695654 240.8695652173913,335.24782608695654" fill="none" stroke="hsl(336, 100%, 50%, 0.8)" stroke-width="1px"/></g><g><polyline data-points="-3.4,-0.09999999999999992 -1.3,-0.10000000000000009" data-type="line" data-label="" points="113.04347826086953,323.0739130434783 240.8695652173913,323.0739130434783" fill="none" stroke="hsl(336, 100%, 50%, 0.8)" stroke-width="1px"/></g><g><polyline data-points="-3.4,0.10000000000000003 -1.3,0.09999999999999998" data-type="line" data-label="" points="113.04347826086953,310.90000000000003 240.8695652173913,310.90000000000003" fill="none" stroke="hsl(336, 100%, 50%, 0.8)" stroke-width="1px"/></g><g><polyline data-points="3.4,-0.5 1.3,-0.5" data-type="line" data-label="" points="526.9565217391305,347.42173913043484 399.1304347826087,347.42173913043484" fill="none" stroke="hsl(24, 100%, 50%, 0.8)" stroke-width="1px"/></g><g><polyline data-points="3.4,-0.3000000000000001 1.3,-0.3" data-type="line" data-label="" points="526.9565217391305,335.24782608695654 399.1304347826087,335.24782608695654" fill="none" stroke="hsl(24, 100%, 50%, 0.8)" stroke-width="1px"/></g><g><polyline data-points="3.4,-0.10000000000000003 1.3,-0.09999999999999998" data-type="line" data-label="" points="526.9565217391305,323.0739130434783 399.1304347826087,323.0739130434783" fill="none" stroke="hsl(24, 100%, 50%, 0.8)" stroke-width="1px"/></g><g><polyline data-points="3.4,0.09999999999999998 1.3,0.10000000000000009" data-type="line" data-label="" points="526.9565217391305,310.90000000000003 399.1304347826087,310.90000000000003" fill="none" stroke="hsl(24, 100%, 50%, 0.8)" stroke-width="1px"/></g><g><polyline data-points="-0.2,1.4 -3.4,-0.7" data-type="line" data-label="" points="307.82608695652175,231.76956521739135 113.04347826086953,359.5956521739131" fill="none" stroke="hsl(73, 100%, 50%, 0.8)" stroke-width="1px" stroke-dasharray="4 2"/></g><g><polyline data-points="0,-1.4 -3.4,-0.8999999999999999" data-type="line" data-label="" points="320,402.204347826087 113.04347826086953,371.76956521739135" fill="none" stroke="hsl(157, 100%, 50%, 0.8)" stroke-width="1px" stroke-dasharray="4 2"/></g><g><polyline data-points="0,-1.4 3.4,-0.8999999999999999" data-type="line" data-label="" points="320,402.204347826087 526.9565217391305,371.76956521739135" fill="none" stroke="hsl(157, 100%, 50%, 0.8)" stroke-width="1px" stroke-dasharray="4 2"/></g><g><polyline data-points="-3.4,-0.8999999999999999 3.4,-0.8999999999999999" data-type="line" data-label="" points="113.04347826086953,371.76956521739135 526.9565217391305,371.76956521739135" fill="none" stroke="hsl(157, 100%, 50%, 0.8)" stroke-width="1px" stroke-dasharray="4 2"/></g><g><polyline data-points="0.2,1.4 3.4,-0.7" data-type="line" data-label="" points="332.17391304347825,231.76956521739135 526.9565217391305,359.5956521739131" fill="none" stroke="hsl(199, 100%, 50%, 0.8)" stroke-width="1px" stroke-dasharray="4 2"/></g><g><polyline data-points="0,-1.4 0,-1.5999999999999999 -1.7,-1.5999999999999999 -1.7,-0.8999999999999999 -3.4,-0.8999999999999999" data-type="line" data-label="" points="320,402.204347826087 320,414.3782608695652 216.52173913043475,414.3782608695652 216.52173913043475,371.76956521739135 113.04347826086953,371.76956521739135" fill="none" stroke="purple" stroke-width="1px"/></g><g><polyline data-points="3.4,-0.8999999999999999 1.6999999999999997,-0.8999999999999999 1.6999999999999997,-1.5999999999999999 0,-1.5999999999999999 0,-1.4" data-type="line" data-label="" points="526.9565217391305,371.76956521739135 423.47826086956525,371.76956521739135 423.47826086956525,414.3782608695652 320,414.3782608695652 320,402.204347826087" fill="none" stroke="purple" stroke-width="1px"/></g><g><polyline data-points="-3.4,-0.49999999999999994 -1.3,-0.5" data-type="line" data-label="" points="113.04347826086953,347.4217391304348 240.8695652173913,347.42173913043484" fill="none" stroke="purple" stroke-width="1px"/></g><g><polyline data-points="-3.4,-0.2999999999999999 -1.3,-0.30000000000000004" data-type="line" data-label="" points="113.04347826086953,335.24782608695654 240.8695652173913,335.24782608695654" fill="none" stroke="purple" stroke-width="1px"/></g><g><polyline data-points="-3.4,-0.09999999999999992 -1.3,-0.10000000000000009" data-type="line" data-label="" points="113.04347826086953,323.0739130434783 240.8695652173913,323.0739130434783" fill="none" stroke="purple" stroke-width="1px"/></g><g><polyline data-points="-3.4,0.10000000000000003 -1.3,0.09999999999999998" data-type="line" data-label="" points="113.04347826086953,310.90000000000003 240.8695652173913,310.90000000000003" fill="none" stroke="purple" stroke-width="1px"/></g><g><polyline data-points="3.4,-0.5 1.3,-0.5" data-type="line" data-label="" points="526.9565217391305,347.42173913043484 399.1304347826087,347.42173913043484" fill="none" stroke="purple" stroke-width="1px"/></g><g><polyline data-points="3.4,-0.3000000000000001 1.3,-0.3" data-type="line" data-label="" points="526.9565217391305,335.24782608695654 399.1304347826087,335.24782608695654" fill="none" stroke="purple" stroke-width="1px"/></g><g><polyline data-points="3.4,-0.10000000000000003 1.3,-0.09999999999999998" data-type="line" data-label="" points="526.9565217391305,323.0739130434783 399.1304347826087,323.0739130434783" fill="none" stroke="purple" stroke-width="1px"/></g><g><polyline data-points="3.4,0.09999999999999998 1.3,0.10000000000000009" data-type="line" data-label="" points="526.9565217391305,310.90000000000003 399.1304347826087,310.90000000000003" fill="none" stroke="purple" stroke-width="1px"/></g><g><rect data-type="rect" data-label="schematic_component_0" data-x="0" data-y="0" x="240.8695652173913" y="231.76956521739135" width="158.26086956521738" height="170.43478260869563" fill="hsl(24, 100%, 50%, 0.8)" stroke="black" stroke-width="0.016428571428571428"/></g><g><rect data-type="rect" data-label="schematic_component_1" data-x="-4" data-y="-0.3" x="39.999999999999986" y="286.5521739130435" width="73.04347826086953" height="97.39130434782612" fill="hsl(24, 100%, 50%, 0.8)" stroke="black" stroke-width="0.016428571428571428"/></g><g><rect data-type="rect" data-label="schematic_component_2" data-x="4" data-y="-0.3" x="526.9565217391305" y="286.5521739130435" width="73.0434782608695" height="97.39130434782612" fill="hsl(24, 100%, 50%, 0.8)" stroke="black" stroke-width="0.016428571428571428"/></g><g><rect data-type="rect" data-label="netId: V3_3
|
|
2
|
+
globalConnNetId: connectivity_net9" data-x="-0.2" data-y="1.6009999999999998" x="301.7391304347826" y="207.3608695652174" width="12.173913043478251" height="24.34782608695653" fill="#ef444466" stroke="#ef4444" stroke-width="0.016428571428571428"/></g><g><rect data-type="rect" data-label="netId: V3_3
|
|
3
|
+
globalConnNetId: connectivity_net9" data-x="-3.199" data-y="-0.7" x="113.10434782608692" y="353.50869565217397" width="24.34782608695656" height="12.173913043478251" fill="#ef444466" stroke="#ef4444" stroke-width="0.016428571428571428"/></g><g><rect data-type="rect" data-label="netId: pinheader.JP1 > port.pin6 to .U1 > .pin2
|
|
4
|
+
globalConnNetId: connectivity_net4" data-x="-2.35" data-y="0.325" x="170.86956521739125" y="283.5086956521739" width="12.17391304347828" height="27.39130434782612" fill="hsl(40, 100%, 50%, 0.35)" stroke="black" stroke-width="0.016428571428571428"/></g><g><rect data-type="rect" data-label="netId: GND
|
|
5
|
+
globalConnNetId: connectivity_net0" data-x="0" data-y="-1.7499999999999998" x="313.9130434782609" y="414.3782608695653" width="12.173913043478251" height="18.260869565217376" fill="#00000066" stroke="#000000" stroke-width="0.016428571428571428"/></g><g><rect data-type="rect" data-label="netId: pinheader.JP2 > port.pin6 to .U1 > .pin13
|
|
6
|
+
globalConnNetId: connectivity_net8" data-x="2.35" data-y="0.32500000000000007" x="456.9565217391305" y="283.5086956521739" width="12.173913043478308" height="27.39130434782612" fill="hsl(40, 100%, 50%, 0.35)" stroke="black" stroke-width="0.016428571428571428"/></g><g><rect data-type="rect" data-label="netId: V5
|
|
7
|
+
globalConnNetId: connectivity_net10" data-x="0.2" data-y="1.501" x="326.0869565217391" y="219.53478260869565" width="12.173913043478251" height="12.173913043478308" fill="#ef444466" stroke="#ef4444" stroke-width="0.016428571428571428"/></g><g><rect data-type="rect" data-label="netId: V5
|
|
8
|
+
globalConnNetId: connectivity_net10" data-x="3.299" data-y="-0.7" x="514.7217391304348" y="353.50869565217397" width="12.173913043478251" height="12.173913043478251" fill="#ef444466" stroke="#ef4444" stroke-width="0.016428571428571428"/></g><g><circle data-type="point" data-label="U1.1
|
|
9
|
+
y+" data-x="-0.2" data-y="1.4" cx="307.82608695652175" cy="231.76956521739135" r="3" fill="hsl(319, 100%, 50%, 0.8)"/></g><g><circle data-type="point" data-label="U1.2
|
|
10
|
+
x-" data-x="-1.3" data-y="0.09999999999999998" cx="240.8695652173913" cy="310.90000000000003" r="3" fill="hsl(320, 100%, 50%, 0.8)"/></g><g><circle data-type="point" data-label="U1.3
|
|
11
|
+
x-" data-x="-1.3" data-y="-0.10000000000000009" cx="240.8695652173913" cy="323.0739130434783" r="3" fill="hsl(321, 100%, 50%, 0.8)"/></g><g><circle data-type="point" data-label="U1.4
|
|
12
|
+
x-" data-x="-1.3" data-y="-0.30000000000000004" cx="240.8695652173913" cy="335.24782608695654" r="3" fill="hsl(322, 100%, 50%, 0.8)"/></g><g><circle data-type="point" data-label="U1.5
|
|
13
|
+
x-" data-x="-1.3" data-y="-0.5" cx="240.8695652173913" cy="347.42173913043484" r="3" fill="hsl(323, 100%, 50%, 0.8)"/></g><g><circle data-type="point" data-label="U1.7
|
|
14
|
+
y-" data-x="0" data-y="-1.4" cx="320" cy="402.204347826087" r="3" fill="hsl(325, 100%, 50%, 0.8)"/></g><g><circle data-type="point" data-label="U1.8
|
|
15
|
+
x-" data-x="-1.3" data-y="0.5" cx="240.8695652173913" cy="286.5521739130435" r="3" fill="hsl(326, 100%, 50%, 0.8)"/></g><g><circle data-type="point" data-label="U1.10
|
|
16
|
+
x+" data-x="1.3" data-y="-0.5" cx="399.1304347826087" cy="347.42173913043484" r="3" fill="hsl(217, 100%, 50%, 0.8)"/></g><g><circle data-type="point" data-label="U1.11
|
|
17
|
+
x+" data-x="1.3" data-y="-0.3" cx="399.1304347826087" cy="335.24782608695654" r="3" fill="hsl(218, 100%, 50%, 0.8)"/></g><g><circle data-type="point" data-label="U1.12
|
|
18
|
+
x+" data-x="1.3" data-y="-0.09999999999999998" cx="399.1304347826087" cy="323.0739130434783" r="3" fill="hsl(219, 100%, 50%, 0.8)"/></g><g><circle data-type="point" data-label="U1.13
|
|
19
|
+
x+" data-x="1.3" data-y="0.10000000000000009" cx="399.1304347826087" cy="310.90000000000003" r="3" fill="hsl(220, 100%, 50%, 0.8)"/></g><g><circle data-type="point" data-label="U1.14
|
|
20
|
+
y+" data-x="0.2" data-y="1.4" cx="332.17391304347825" cy="231.76956521739135" r="3" fill="hsl(221, 100%, 50%, 0.8)"/></g><g><circle data-type="point" data-label="JP1.1
|
|
21
|
+
x+" data-x="-3.4" data-y="-0.8999999999999999" cx="113.04347826086953" cy="371.76956521739135" r="3" fill="hsl(358, 100%, 50%, 0.8)"/></g><g><circle data-type="point" data-label="JP1.2
|
|
22
|
+
x+" data-x="-3.4" data-y="-0.7" cx="113.04347826086953" cy="359.5956521739131" r="3" fill="hsl(359, 100%, 50%, 0.8)"/></g><g><circle data-type="point" data-label="JP1.3
|
|
23
|
+
x+" data-x="-3.4" data-y="-0.49999999999999994" cx="113.04347826086953" cy="347.4217391304348" r="3" fill="hsl(0, 100%, 50%, 0.8)"/></g><g><circle data-type="point" data-label="JP1.4
|
|
24
|
+
x+" data-x="-3.4" data-y="-0.2999999999999999" cx="113.04347826086953" cy="335.24782608695654" r="3" fill="hsl(1, 100%, 50%, 0.8)"/></g><g><circle data-type="point" data-label="JP1.5
|
|
25
|
+
x+" data-x="-3.4" data-y="-0.09999999999999992" cx="113.04347826086953" cy="323.0739130434783" r="3" fill="hsl(2, 100%, 50%, 0.8)"/></g><g><circle data-type="point" data-label="JP1.6
|
|
26
|
+
x+" data-x="-3.4" data-y="0.10000000000000003" cx="113.04347826086953" cy="310.90000000000003" r="3" fill="hsl(3, 100%, 50%, 0.8)"/></g><g><circle data-type="point" data-label="JP1.7
|
|
27
|
+
x+" data-x="-3.4" data-y="0.3" cx="113.04347826086953" cy="298.7260869565218" r="3" fill="hsl(4, 100%, 50%, 0.8)"/></g><g><circle data-type="point" data-label="JP2.1
|
|
28
|
+
x-" data-x="3.4" data-y="-0.8999999999999999" cx="526.9565217391305" cy="371.76956521739135" r="3" fill="hsl(239, 100%, 50%, 0.8)"/></g><g><circle data-type="point" data-label="JP2.2
|
|
29
|
+
x-" data-x="3.4" data-y="-0.7" cx="526.9565217391305" cy="359.5956521739131" r="3" fill="hsl(240, 100%, 50%, 0.8)"/></g><g><circle data-type="point" data-label="JP2.3
|
|
30
|
+
x-" data-x="3.4" data-y="-0.5" cx="526.9565217391305" cy="347.42173913043484" r="3" fill="hsl(241, 100%, 50%, 0.8)"/></g><g><circle data-type="point" data-label="JP2.4
|
|
31
|
+
x-" data-x="3.4" data-y="-0.3000000000000001" cx="526.9565217391305" cy="335.24782608695654" r="3" fill="hsl(242, 100%, 50%, 0.8)"/></g><g><circle data-type="point" data-label="JP2.5
|
|
32
|
+
x-" data-x="3.4" data-y="-0.10000000000000003" cx="526.9565217391305" cy="323.0739130434783" r="3" fill="hsl(243, 100%, 50%, 0.8)"/></g><g><circle data-type="point" data-label="JP2.6
|
|
33
|
+
x-" data-x="3.4" data-y="0.09999999999999998" cx="526.9565217391305" cy="310.90000000000003" r="3" fill="hsl(244, 100%, 50%, 0.8)"/></g><g><circle data-type="point" data-label="JP2.7
|
|
34
|
+
x-" data-x="3.4" data-y="0.3" cx="526.9565217391305" cy="298.7260869565218" r="3" fill="hsl(245, 100%, 50%, 0.8)"/></g><g><circle data-type="point" data-label="anchorPoint
|
|
35
|
+
orientation: y+" data-x="-0.2" data-y="1.4" cx="307.82608695652175" cy="231.76956521739135" r="3" fill="hsl(40, 100%, 50%, 0.9)"/></g><g><circle data-type="point" data-label="anchorPoint
|
|
36
|
+
orientation: x+" data-x="-3.4" data-y="-0.7" cx="113.04347826086953" cy="359.5956521739131" r="3" fill="hsl(40, 100%, 50%, 0.9)"/></g><g><circle data-type="point" data-label="anchorPoint
|
|
37
|
+
orientation: y+" data-x="-2.35" data-y="0.1" cx="176.9565217391304" cy="310.90000000000003" r="3" fill="hsl(40, 100%, 50%, 0.9)"/></g><g><circle data-type="point" data-label="anchorPoint
|
|
38
|
+
orientation: y-" data-x="0" data-y="-1.5999999999999999" cx="320" cy="414.3782608695652" r="3" fill="hsl(40, 100%, 50%, 0.9)"/></g><g><circle data-type="point" data-label="anchorPoint
|
|
39
|
+
orientation: y+" data-x="2.35" data-y="0.10000000000000003" cx="463.0434782608696" cy="310.90000000000003" r="3" fill="hsl(40, 100%, 50%, 0.9)"/></g><g><circle data-type="point" data-label="anchorPoint
|
|
40
|
+
orientation: y+" data-x="0.2" data-y="1.4" cx="332.17391304347825" cy="231.76956521739135" r="3" fill="hsl(80, 100%, 50%, 0.9)"/></g><g><circle data-type="point" data-label="anchorPoint
|
|
41
|
+
orientation: x-" data-x="3.4" data-y="-0.7" cx="526.9565217391305" cy="359.5956521739131" r="3" fill="hsl(80, 100%, 50%, 0.9)"/></g><g id="crosshair" style="display: none"><line id="crosshair-h" y1="0" y2="640" stroke="#666" stroke-width="0.5"/><line id="crosshair-v" x1="0" x2="640" stroke="#666" stroke-width="0.5"/><text id="coordinates" font-family="monospace" font-size="12" fill="#666"></text></g><script><![CDATA[
|
|
42
|
+
document.currentScript.parentElement.addEventListener('mousemove', (e) => {
|
|
43
|
+
const svg = e.currentTarget;
|
|
44
|
+
const rect = svg.getBoundingClientRect();
|
|
45
|
+
const x = e.clientX - rect.left;
|
|
46
|
+
const y = e.clientY - rect.top;
|
|
47
|
+
const crosshair = svg.getElementById('crosshair');
|
|
48
|
+
const h = svg.getElementById('crosshair-h');
|
|
49
|
+
const v = svg.getElementById('crosshair-v');
|
|
50
|
+
const coords = svg.getElementById('coordinates');
|
|
51
|
+
|
|
52
|
+
crosshair.style.display = 'block';
|
|
53
|
+
h.setAttribute('x1', '0');
|
|
54
|
+
h.setAttribute('x2', '640');
|
|
55
|
+
h.setAttribute('y1', y);
|
|
56
|
+
h.setAttribute('y2', y);
|
|
57
|
+
v.setAttribute('x1', x);
|
|
58
|
+
v.setAttribute('x2', x);
|
|
59
|
+
v.setAttribute('y1', '0');
|
|
60
|
+
v.setAttribute('y2', '640');
|
|
259
61
|
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
const sx = matrix.a;
|
|
284
|
-
const sy = matrix.d;
|
|
285
|
-
const tx = matrix.e;
|
|
286
|
-
const ty = matrix.f;
|
|
287
|
-
const realPoint = {
|
|
288
|
-
x: (x - tx) / sx,
|
|
289
|
-
y: (y - ty) / sy // Flip y back since we used negative scale
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
coords.textContent = `(${realPoint.x.toFixed(2)}, ${realPoint.y.toFixed(2)})`;
|
|
293
|
-
coords.setAttribute('x', (x + 5).toString());
|
|
294
|
-
coords.setAttribute('y', (y - 5).toString());
|
|
295
|
-
});
|
|
296
|
-
document.currentScript.parentElement.addEventListener('mouseleave', () => {
|
|
297
|
-
document.currentScript.parentElement.getElementById('crosshair').style.display = 'none';
|
|
298
|
-
});
|
|
299
|
-
]]>
|
|
300
|
-
</script>
|
|
301
|
-
</svg>
|
|
62
|
+
// Calculate real coordinates using inverse transformation
|
|
63
|
+
const matrix = {"a":60.86956521739131,"c":0,"e":320,"b":0,"d":-60.86956521739131,"f":316.98695652173916};
|
|
64
|
+
// Manually invert and apply the affine transform
|
|
65
|
+
// Since we only use translate and scale, we can directly compute:
|
|
66
|
+
// x' = (x - tx) / sx
|
|
67
|
+
// y' = (y - ty) / sy
|
|
68
|
+
const sx = matrix.a;
|
|
69
|
+
const sy = matrix.d;
|
|
70
|
+
const tx = matrix.e;
|
|
71
|
+
const ty = matrix.f;
|
|
72
|
+
const realPoint = {
|
|
73
|
+
x: (x - tx) / sx,
|
|
74
|
+
y: (y - ty) / sy // Flip y back since we used negative scale
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
coords.textContent = `(${realPoint.x.toFixed(2)}, ${realPoint.y.toFixed(2)})`;
|
|
78
|
+
coords.setAttribute('x', (x + 5).toString());
|
|
79
|
+
coords.setAttribute('y', (y - 5).toString());
|
|
80
|
+
});
|
|
81
|
+
document.currentScript.parentElement.addEventListener('mouseleave', () => {
|
|
82
|
+
document.currentScript.parentElement.getElementById('crosshair').style.display = 'none';
|
|
83
|
+
});
|
|
84
|
+
]]></script></svg>
|