3 ms·
Wow! That's an intense particle. I'm thumbing through the code now. Nice work so far!
by dandigangi 8y ago
Wow! That's an intense particle. I'm thumbing through the code now. Nice work so far!
- wonglok831 8y agoaww thanks a lot for your kudos!! :D You can try try replace similar code with these code... vec3 ball1 = ballify(vec3(x, y, z), 1.0); nextPos = ballify(ball1 + nextPos, 17.0); nextPos.x += cos(nextPos.z - time * 30.0); nextPos.y += sin(nextPos.z - time * 30.0); nextPos += getDiff(nextPos, mouse * 17.0) * 50.0; gl_FragColor = vec4(nextPos, 1.0);