DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
how to clamp a value
let d=max-min; let c=((value-min)%d)+min;
PREVIOUS
NEXT
Tagged:
#clamp
ADD COMMENT
Topic
COMMENT
Name
9+9 =
Submit