Skip to content

Commit eb694bd

Browse files
committed
Adding TF plot. Started add op amp. General bug fix
1 parent e1328b4 commit eb694bd

11 files changed

Lines changed: 1037 additions & 607 deletions

File tree

filterAnalyzer/images/opAmp.js

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
2+
3+
var shapeOpamp = draw2d.SVGFigure.extend({
4+
5+
init : function(attr)
6+
{
7+
this._super(extend({width:64, height:80},attr));
8+
this.ressvgs = `
9+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="-1 -1 139 170">
10+
<path stroke-linecap="round" stroke="#000" stroke-miterlimit="10" stroke-width="10" d="m34,16l80,80l-80,80z"/>
11+
<path stroke-linecap="round" stroke="#000" stroke-miterlimit="10" stroke-width="5" d="M58,76v-24m-12,12h24m-24,64h24"/>
12+
<path stroke-linecap="round" stroke="#000" stroke-miterlimit="10" stroke-width="10" d="M2,128h28m-28,-64h28m80,32h20"/>
13+
</svg>
14+
`;
15+
},
16+
getSVG: function(){
17+
return this.ressvgs;
18+
}
19+
});

filterAnalyzer/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
<script src="images/shapeVin.js"></script>
3232
<script src="images/shapeVout.js"></script>
3333
<script src="images/shapeInductor.js"></script>
34+
<script src="images/opAmp.js"></script>
3435
<link href="style.css" rel="stylesheet">
3536

3637
<!-- <script type="module" src="./modules/ciruitToLaplace.mjs"></script> -->

0 commit comments

Comments
 (0)