Contents

how to rescalling a point to another scale!

   Apr 9, 2023     1 min read

how to rescalling a point to another scale

maybe you ask why i write this?
I was trying write a generator number with cpp and i wanted send it to client and create a sine wave use with the points you can see it one my github Server TCP Use API Kernel


ok now let's go


how to change scalling :


it’s very easy really😃 you just need to know these

  • What's your Point



  • What's your Range Maximum Number Input



  • What's your Range Minimum Number Input



  • What's your Range Maximum Scalling (width or height)



  • What's your Range Minimum Scalling (width or height)



  • And Formullar is




    Imagine Number is number 30 ok let's go:












    for more information read wikipedia
    have a good time