adjust samples
port some effects from shadertoy
fix codegen: generate unique loop state variable name