[vue.auth.dialog] updated dialog 'frequency' canvas ++
This commit is contained in:
parent
86864ab8b2
commit
80e9bd2b05
|
@ -138,11 +138,11 @@ export default {
|
||||||
/* (2) Adjust dimensions */
|
/* (2) Adjust dimensions */
|
||||||
can.width = buffer.length;
|
can.width = buffer.length;
|
||||||
can.height = 256;
|
can.height = 256;
|
||||||
let precision = 5; // bigger -> less precise
|
let precision = 1; // bigger -> less precise
|
||||||
|
|
||||||
/* (3) Erase previous drawing */
|
/* (3) Erase previous drawing */
|
||||||
ctx.clearRect(0, 0, can.width, can.height);
|
ctx.clearRect(0, 0, can.width, can.height);
|
||||||
ctx.lineWidth = 7;
|
ctx.lineWidth = 1;
|
||||||
|
|
||||||
/* (4) Trace through each value */
|
/* (4) Trace through each value */
|
||||||
for( let i = precision ; i < buffer.length ; i+=precision ){
|
for( let i = precision ; i < buffer.length ; i+=precision ){
|
||||||
|
|
Loading…
Reference in New Issue