neumorphism
neumorphism copied to clipboard
Configuration.js file has been updated with "activeLightSource" using Mapping.
Configuration.js
file has been updated with activeLightSource
using Mapping.
The basic switch case to choose position and angle is updated with key and value pairs.
Additionally, a new function called handleLightSource()
has been created which takes activeLightSource and distance arguments. Then, the function returns the postionX
postionY
angle
.
The values can directly be stored in a variables instead of declaring separately.
I hope, it would help your application for faster performance.
Thank you.