 Like this but dependent on the sliders in the applet