Animating the colour of a model

This demo illustrates how the base colour of a model may be changed via JavaScript based on the current time of the animation. The text under the model is updated to show the current playback time.

The JavaScript in this example was generated with the support of ChatGPT.

The HDRI background was created by Greg Zaal and is used under CC0 license.

Animation Time: 0 ms

Return to main page