It is called the HeatVanish Pen and works by using heat sensitive ink that turns clear when hot. The pen is equipped with an electric heating element on the end which works as your rubber.
Using this logic, heat can be introduced with an iron or ... ink or Sharpie on fabric stand out bold and bright. Consider fabric markers as a good alternative because they're designed to hold ...