Comments (4)
Yep it's free to use...enjoy
from steelseries-canvas.
Thank you very much HanSolo I appreciate
from steelseries-canvas.
hello sir ,
Thanks again for your canvas i have a question about speed up your canvas lib . i explain i have set horizon by serial i working but i want the canvas to be faster to respond better to the data coming
parser.on('data', function(data) {
var newValue = data;
var str = newValue;
var fields = str.split(/:/);
var rolls = fields[0];
var pitchs = fields[1];
// var temps = fields[2];
// var boussoles = fields[3];
roll = parseInt(rolls);
pitch = parseInt(pitchs);
// temp = parseInt(temps);
// boussole = parseInt(boussoles);
io.emit('roll', roll);
io.emit('pitch', pitch);
// io.emit('temp', temp);
// io.emit('boussole', boussole);
});
server.listen(3000); // Listen
from steelseries-canvas.
The Horizon gauge has a fixed animation duration of 1 second.
At present you would have to manually change the steelseries.js file to alter this.
For roll it is at line 8658...
tweenRoll = new Tween({}, '', Tween.regularEaseInOut, roll, newRoll, 1);
Change the "1" (second) to whatever you want, same for the pitch at line 8717...
tweenPitch = new Tween({}, '', Tween.regularEaseInOut, pitch, newPitch, 1);
from steelseries-canvas.
Related Issues (20)
- Very first setValueAnimated() invalidates min/max values. HOT 1
- setAltValue in MultiDisplay not working HOT 1
- Radial Dial numbered ticks display error HOT 2
- Dial Values not scaling HOT 6
- N/A
- Commercial Usage HOT 2
- Making it work with shared canvas HOT 1
- setting min & max measured values with radialVertical control HOT 3
- Wrong font in special case HOT 6
- radialBargraph HOT 1
- [FR] Feed different values to LCD HOT 2
- suggestion: removing translate just before ctx.restore() HOT 1
- Problem to link data receive from my websocket js file to update the setValueAnimated of a gauge
- Addition of a wind speed canvas with maximum and average HOT 5
- section, minvalue, maxvalue update problems
- Connect SteelSeries with Mysql database
- SteelSeries-Gauges / Mysql HOT 1
- playAlarm HOT 1
- PHP 8.0 or 8.1 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from steelseries-canvas.