Option A — Optimization (20): Given 200 draggable elements behaving like slime, describe an optimized update loop and collision strategy that minimizes CPU and memory churn. Include pseudo-code for the main loop and explain use of spatial partitioning or level-of-detail.
Option B — Remix & extend (20): Propose an extension to the Google Gravity Slime that adds realistic viscosity changes (e.g., syrup vs. water) controlled by a UI slider. Provide formulas or algorithmic steps to alter damping, spring stiffness, and collision restitution; include how to smoothly interpolate values and persist user preference locally.
Duration: 60 minutes Total marks: 100
Option A — Optimization (20): Given 200 draggable elements behaving like slime, describe an optimized update loop and collision strategy that minimizes CPU and memory churn. Include pseudo-code for the main loop and explain use of spatial partitioning or level-of-detail.
Option B — Remix & extend (20): Propose an extension to the Google Gravity Slime that adds realistic viscosity changes (e.g., syrup vs. water) controlled by a UI slider. Provide formulas or algorithmic steps to alter damping, spring stiffness, and collision restitution; include how to smoothly interpolate values and persist user preference locally. Google Gravity Slime Mr Doob
Duration: 60 minutes Total marks: 100
The following download link is available for your IP: 185.104.194.44 until 2026-03-09 23:16:03 GMT
https://bluenokia.com/index.php?a=downloads&b=file&c=download&id=16299&vtoken=16299_1773098163_ad7fee49db6edf829994f287e8020b64