Hello
i am working on ship direction (COG) i want to make a picture by SVG node of a boat and i want this picture to rotate with the value injected
for example if inject 30° the picture rotate to direction 30° like compass
can anyone help me please and thank you
Hi @Youssef
I don't do SVG (plenty here who do)
But here is something I just wrote that may be a solution.
it simply uses CSS:
- transition-duration (to animate the change)
- transform (rotate)
The rotate deg is injected via payload
<img id="MyImage" style="border-radius:50%; transition-duration:500ms; transform:rotate(0deg);" src="data:image/png;base64,iVBO..."/>
<script>
(function(scope) {
scope.$watch('msg', function(msg) {
if (msg) {
// Do something when msg arrives
$("#MyImage").css({'transform':`rotate(${msg.payload}deg)`});
}
});
})(scope);
</script>
I just use a template node to create the image, and apply the CSS to it
[{"id":"694db1d8a08f774b","type":"ui_template","z":"2d7bf6e3.84c97a","group":"09241c3f7d3522ab","name":"","order":6,"width":0,"height":0,"format":"<img id=\"MyImage\" style=\"border-radius:50%;transition-duration: 500ms;transform: rotate(0deg);\" src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAScAAAE0CAYAAABuGPV0AAAKpWlDQ1BJQ0MgUHJvZmlsZQAASImVlwdQk9kWx+/3femFkgQEpITepLcAUkJooQjSwUZIAgklxkBQETuLK7gWVERQEXSRouBaAFkrotgWxYp1QRYFZV0s2FB5HzAEd9+89+admTP3N/+ce869d+795gQAqgpPKk2HVQDIkGTJIgJ8mHHxCUx8P0AACZABDdjw+JlSdnh4CEBtcvy7vb8LoLHxltVYrn///b+aqkCYyQcACkc5SZDJz0D5GOov+FJZFgDIXlQ3XJwlHeM2lBkydIEod41xygQPjnHSOGPAeExUBAdlBgAECo8nSwGAwkR1ZjY/Bc1D8UbZViIQS1CWouyZkbFQgPJhlM3QGFSjjOVnJX2XJ+VvOZMUOXm8FAVP7GXcCL7iTGk6b+n/eRz/2zLS5ZM1TFCniGSBEehIQ8+sK21hsIIlSbPCJlksGI8fZ5E8MHqS+ZmchEkW8HyDFXPTZ4VMcrLYn6vIk8WNmmRhpl/kJMsWRihqJcs47EnmyabqytOiFbpI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mAkwiQnJxUG4UmAuFHgOQUfh2zh0TASQRITk6qjUITgfAjQHIKv47ZQyLgJAIkJyfVRqGJQPgRIDmFX8fsIRFwEgGSk5Nqo9BEIPwIkJzCr2P2kAg4iQDJyUm1UWgiEH4ESE7h1zF7SAScRIDk5KTaKDQRCD8CJKfw65g9JAJOIkByclJtFJoIhB8BklP4dcweEgEnESA5Oak2Ck0Ewo8AySn8OmYPiYCTCJCcnFQbhSYC4UeA5BR+HbOHRMBJBEhOTqqNQhOB8CNAcgq/jtlDIuAkAiQnJ9VGoYlA+BEgOYVfx+whEXASAZKTk2qj0EQg/AiQnMKvY/aQCDiJAMnJSbVRaCIQfgRITuHXMXtIBJxEgOTkpNooNBEIPwIkp/DrmD0kAk4iQHJyUm0UmgiEHwGSU/h1zB4SAScRIDk5qTYKTQTCjwDJKfw6Zg+JgJMIkJycVBuFJgLhR4DkFH4ds4dEwEkESE5Oqo1CE4HwI0ByCr+O2UMi4CQCJCcn1UahiUD4ESA5hV/H7CERcBIBkpOTaqPQRCD8CJCcwq9j9pAIOIkAyclJtVFoIhB+BEhO4dcxe0gEnESA5OSk2ig0EQg/AiSn8OuYPSQCTiJAcnJSbRSaCIQfAZJT+HXMHhIBJxH4f4jJPbjwchLGAAAAAElFTkSuQmCC\"/>\n\n<script>\n(function(scope) {\n scope.$watch('msg', function(msg) {\n if (msg) {\n // Do something when msg arrives\n $(\"#MyImage\").css({'transform':`rotate(${msg.payload}deg)`});\n }\n });\n})(scope);\n</script>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","className":"","x":1730,"y":700,"wires":[[]]},{"id":"9abf7a14a44bb549","type":"inject","z":"2d7bf6e3.84c97a","name":"","props":[{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"45","payloadType":"str","x":1525,"y":700,"wires":[["694db1d8a08f774b"]]},{"id":"3ae10bb41d6e8355","type":"inject","z":"2d7bf6e3.84c97a","name":"","props":[{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"90","payloadType":"str","x":1530,"y":745,"wires":[["694db1d8a08f774b"]]},{"id":"8572fb7070625113","type":"inject","z":"2d7bf6e3.84c97a","name":"","props":[{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"0","payloadType":"str","x":1520,"y":655,"wires":[["694db1d8a08f774b"]]},{"id":"bac62f6ce31461f1","type":"inject","z":"2d7bf6e3.84c97a","name":"","props":[{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"180","payloadType":"str","x":1530,"y":790,"wires":[["694db1d8a08f774b"]]},{"id":"09241c3f7d3522ab","type":"ui_group","name":"Group 1","tab":"83f943cd04824277","order":1,"disp":true,"width":6},{"id":"83f943cd04824277","type":"ui_tab","name":"Tab 2","icon":"dashboard","order":2}]
You might need to use transform origin
to set the centre of rotation, if 0,0 is not what you want. Also look at transfer-box which can be useful.
that's exactly what i need thank you but i just want to know how you upload the image and it is possible to do it like the picture the ship turn and the circle stable which indicates the north and west sidess
your picture is in the first line of the template code ... src="data:image xxxxxxxxxx"
it is online picture ?
and how i cand fix one picture and rotate the other
thank youu
If you want to show an online picture you need to do it like this:
<img id="MyImage" style="border-radius:50%; transition-duration:500ms; transform:rotate(0deg);" src="url_to_your_online_picture"/>
In this cas the ivBO...
part is an image that has been base64 encoded. You can do that easily using an online image base64 encoder like e.g. this one, and paste the string into your drawing. That way your image will always be there, even if your system is offline.
But personally I don't really understand why you need an image for something simple like this. Why you don't just use an SVG drawing tool and draw everything in SVG: your ship, a text "north", a text "west" and so on. Then you inject messages to change the number of degrees, which rotate only your ship and change the number of the degrees text.
The choice is up to you, but I wouldn't be using any images in your case.
Some extra decision for you: The flow shared by @marcus-j-davies is for the old Node-RED dashboard, because you added the tag 'dashboard'. You need to specify whether you want that, or if you are starting with a new dashboard, because then I would go for the new Node-RED dashboard D2.
If you are using the old dashboard, you can also use my node-red-contrib-ui-svg node. But I have not migrated that yet to dashboard D2, so then you need to use a template node (like marcus did above in his flow for the old dashboard). Note that Marcus his template node code from above is for AngularJs (old dashboard) and won't work in the new dashboard (which needs VueJs code).
Bart
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.