Reduction of a fraction

Try to slide the two slider bars to control the value of denominator and numerator of a fraction.