webdevelopment: Alain Brusch
Back
Parameters and Variables | Mustermesse Tool

Bringing physics and code together. Upon defining variables and parameters such as radius, amount of points, ribbonheight etc. we can connect them to interactive GUI elements such as sliders.

	let mapMouse = map(mouseX, 0, mouseX, 0, 500);
	let pts = slider5.value();
	let radius = slider1.value();
	let ribbonHeight = slider2.value();
	let spiralHeight = slider3.value() * sin(radians(frameCount));
	let count = slider4.value();
	let beta = PI;
Sliders (GUI Elements)