Skip to content

remap function, for the terminal

Notifications You must be signed in to change notification settings

mrchip2k/remap-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

remap

Terminal utility to remap a number from a range to another.

Similar to:

  • Processing/Arduino map()
  • Godot range_lerp()
  • Unreal Engine Map Range Unclamped

Usage

Launch without arguments to remind you how to use this.

Pass arguments to calculate. Order:
input, in min, in max, out min, out max.
Example:
remap 0.75 0 1 -100 100
> 50

About

remap function, for the terminal

Resources

Stars

Watchers

Forks

Languages