Method for performing an animation with a lighting device comprising a plurality of light sources
11729888 · 2023-08-15
Assignee
Inventors
Cpc classification
B60Q1/30
PERFORMING OPERATIONS; TRANSPORTING
B60Q2900/40
PERFORMING OPERATIONS; TRANSPORTING
International classification
B60Q1/30
PERFORMING OPERATIONS; TRANSPORTING
Abstract
Method is provided for performing an animation with a lighting device having a plurality of light sources. An animation is described in a description language that describes at least parts of the animation as movement of an animation object in at least one spatial dimension in a virtual coordinate system. The animation described in the description language is interpreted by a control device controlling the plurality of light sources such that the light sources perform the animation.
Claims
1. A method for controlling a lighting device having a plurality of light sources, the method comprising the following method steps: describing an animation object in a virtual coordinate system with a description language using a string of numbers and letters corresponding to a plurality of parameters of the virtual coordinate system, wherein the description language describes a rotation of an animation object movement in at least one spatial dimension in the virtual coordinate system, and interpreting the animation object described in the description language by a control device controlling the plurality of light sources such that the light sources perform the animation object movement.
2. The method according to claim 1, wherein the animation object is described in the description language by at least two movements and a pause taking place between the movements.
3. The method according to claim 1, wherein the animation object corresponds to a shape in the virtual coordinate system which has properties including at least one of a filling and a brightness and a color and a texture.
4. The method according to claim 1, wherein a plurality of different animation objects are provided in the description language, each of which is assigned a unique identifier.
5. The method according to claim 1, wherein the description language includes a parameter used to describe a time within which a movement of the animation object is to be completed.
6. The method according to claim 1, wherein the description language includes a parameter used to describe a target position indicated in the virtual coordinate system to which the animation object is to be moved.
7. The method according to claim 1, wherein the description language includes a scale parameter used to describe a scaling of the animation object to be performed.
8. The method according to claim 1, wherein the description language includes a transition parameter used to describe a transition behavior with which a movement of the animation object is to be started and/or completed.
9. The method according to claim 1, wherein the control device for driving the plurality of light sources of the lighting device-comprises: a processor and a memory, wherein the control device interprets the animation object movement described in the description language and can control the plurality of light sources to perform the animation object movement.
10. A lighting device configured to control movement of an animation object in a virtual coordinate system, the lighting device comprising: a plurality of light sources; a control device comprising a processor and a memory; and an executable instruction stored in the memory, wherein the executable instruction includes the movement of the animation object described in a description language using a string of numbers and letters corresponding to a plurality of parameters in the virtual coordinate system; wherein the control device interprets the executable instructions and controls the plurality of light sources such that the light sources perform the movement of the animation object; and wherein the description language includes a scale parameter indicating whether the animation object should be scaled with respect to at least one of at least two spatial dimensions in the virtual coordinate system.
11. The lighting device according to claim 10, wherein the movement of the animation object is described in the description language by at least two movements and a pause taking place between the movements.
12. The lighting device according to claim 10, wherein the animation object corresponds to a shape in the virtual coordinate system which has properties including at least one of a filling and a brightness and a color and a texture.
13. The lighting device according to claim 10, wherein a plurality of different animation objects are provided in the description language, each of which is assigned a unique identifier.
14. The lighting device according to claim 10, wherein the description language includes a parameter used to describe a time within which a movement of the animation object is to be completed.
15. The lighting device according to claim 10, wherein the description language includes a parameter used to describe a target position indicated in the virtual coordinate system to which the animation object is to be moved.
16. The lighting device according to claim 10, wherein the scale parameter is used to describe whether the animation object to be scaled with respect to an x-coordinate of the virtual coordinate system, a y-coordinate of the virtual coordinate system, or a combination thereof.
17. The lighting device according to claim 10, wherein the description language includes a transition parameter used to describe a transition behavior with which a movement of the animation object is to be started and/or completed.
18. The lighting device according to claim 10, wherein the plurality of light sources comprise a plastic cover backlit by a light-emitting diode.
19. The lighting device according to claim 10, wherein the memory can store multiple animation objects.
20. The lighting device according to claim 10, wherein the control device is a microcontroller.
Description
DETAILED DESCRIPTION OF THE DRAWINGS
(1) Reference is now made more particularly to the drawings, which illustrate the best presently known mode of carrying out the invention and wherein similar reference characters indicate the same parts throughout the views.
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
DETAILED DESCRIPTION OF THE DRAWINGS
(10) In the drawings the same or functionally the same parts are provided with the same reference signs.
(11) A plurality of light sources 1a to 1p of a lighting device (not shown) shall perform an animation which is carried out with a method according to the invention. The light sources 1a to 1p are shown schematically as rectangles in
(12) For the description of the animation a description language is used, which describes the animation as a movement of an animation object in a virtual coordinate system. The coordinate system shown in
(13) In the virtual coordinate system according to
(14) The description language uses a number of parameters to describe the motion of animation object 2 in the virtual coordinate system according to
(15) trans id time x y r sx sy easing
(16) The parameter “trans” indicates that a movement is to be carried out. For example, instead of “trans”, “pause” can be used to indicate that a pause, especially a pause between two movements, should be performed.
(17) The parameter “id” specifies which animation object should be moved. For this purpose, each of the animation objects to be used is assigned an identifier or an “id number”.
(18) The “time” parameter specifies the time within which the movement is to be completed.
(19) The parameter “x” indicates the x-coordinate of a target position in the virtual coordinate system according to
(20) The parameter “r” indicates whether animation object 2 should be rotated around its centre.
(21) The parameter “sx” indicates whether the animation object should be scaled with respect to the x-coordinate of the virtual coordinate system according to
(22) The “easing” parameter specifies how the transition behaviour between two movements or a movement and a pause is to be selected. For example, a linear, an exponential, a cubic one or other transition behaviour can be selected.
(23) It is possible to provide for further parameters. For example, the animation objects 2 to be moved can have properties such as a filling and/or a brightness and/or a colour and/or a texture. For example, a pictogram can be selected as the filling. For one, several or each of these properties, corresponding parameters can be used.
(24) The lighting device not shown comprises a control device capable of controlling the plurality of light sources 1a to 1p. The control device can, for example, be designed as a microcontroller. The control device comprises a processor and a memory. The information used to interpret the animation described in the description language is stored in the memory. For example, information on various animation objects can be stored in the memory.
(25) Below is an example of an animation written in the description language described. The parameters have the values:
(26) trans 17 2000 100 10 0 1 1 lin
(27) “trans 17” specifies that a movement of the animation object with the id number 17 is intended. In this example, the animation object with the id number 17 corresponds to the rectangular animation object 2 shown in
(28) This animation object 2 is to be moved in a time span of 2000 ms (time=2000) to a target position in the virtual coordinate system according to
(29)
(30)
(31)
(32) In
LIST OF REFERENCE SIGNS
(33) 1a to 1p light sources
(34) 1a′ to 1p′ points corresponding to the light sources in a virtual coordinate system
(35) 2 animation object
(36) 3 Arrow to illustrate the movements of the animation object