## rotate()


Rotate an object by the given angle in degrees.


Usage


``` python
rotate(
    obj,
    angle,
)
```


## Parameters


`obj: dict`  
The object to rotate.

`angle: float`  
The rotation angle in degrees.


## Returns


`dict`  
The rotated object with angle metadata.


## Examples

``` python
>>> rotate({"name": "box"}, 90.0)
```

{'name': 'box', 'rotation': 90.0}
