Today a funny 😎 way to use device motion to move using the gravity the objects on your view controller, like this:
Read MoreSwift – Have fun with GravityBehavior and DynamicAnimator
![](<480:https://i0.wp.com/www.albertopasca.it/whiletrue/wp-content/uploads/2021/11/IMG_9113.jpg?resize=150%2C150&ssl=1, <768:https://i0.wp.com/www.albertopasca.it/whiletrue/wp-content/uploads/2021/11/IMG_9113.jpg?fit=300%2C236&ssl=1, >768:https://i0.wp.com/www.albertopasca.it/whiletrue/wp-content/uploads/2021/11/IMG_9113.jpg?fit=1024%2C805&ssl=1)
Today a funny 😎 way to use device motion to move using the gravity the objects on your view controller, like this:
Read MoreRotate a UIImageView using Gyroscope:
Read MoreToday, a simple Arduino project that permit you to power on something connected to a 220v power using a simple relay.