Print at Feb 10, 2026, 3:44:05 PM

Posted by okh at Sep 30, 2017, 4:46:55 PM
Re: How to create a down light embedded in the ceiling
What had you expected? You men can wear the same suit for years ... So stop sulking!
smile Me, sulk? Never! And women waring the same dress twice? Perish the thought.
..entire light source above the ceiling, you definitely need a cut-out for the light to be visible...
Oops, seems I did not test as thoroughly as I thought. You are absolutely right. Good news is that the SVG exercise can be of some use.
How did you make the SVG-file with the animation?
Short answer is: with the help of a text editor.

Longer answer is that the trouble with SVG (and to some extent with HTML / CSS), is that most editors are limited and do not really let the user exploit the full potential of the format. Inkscape, for instance, is a wonderful piece of software, but does not (I think) support animations natively. Which means that I amateurishly try to do like my more competent (and puritan) friends, write the code manually.

The animation in thread 7108 was just a first experiment. Basically just using W3C SVG Animation and MDN <animate> code plunked into and SVG file with a text editor. Not elegant, but I proved to myself that it could be done without too much effort.

SVG animation
has a great potential, including the possibility to animate raster graphics supported by SVG (like png/jpg). A downside is that it is not supported by Microsoft / Internet Explorer.

ok

PS BTW, there are several techniques to animate SVG, including CSS.