Project: threejs
Task (moderate): Create snake.js imported by index.js 1: Create a group named snake, and set this group.name to snake. Place the group in the center of the floor. 2: Generate a gray cone geometry which radius is 0.5 and height is 1, named snakeHead, and add to the snake group. Then set snakeHead.name to snake_head. Place snakeHead to center of the group.