MY FIRST TEST

151 views · 0 likes · 1 comments · May 9, 2026

💬 1

This sketch creates an interactive robot that you can click to control. The robot has a rotating head, swinging arms, bouncing body, and facial features that all respond to mouse clicks on different parts of the robot.

🔀 Remix This 📖 View Docs ⛶ Full Screen ← Back to Gallery

💬 Comments

Loading comments...

📋 Embed Code

Copy this code to embed this sketch on your website:

<iframe src="https://p5js.ai/embed/ab89fcdd-7b12-4f61-b6ce-deb82056e634" width="400" height="400" frameborder="0" allow="autoplay" title="MY FIRST TEST"></iframe>

Adjust width and height as needed. Preview embed →

❓ About This Sketch 3 questions

What visual elements are created by the MY FIRST TEST sketch in p5.js?

The sketch visually represents a robot with a rectangular body, circular head, arms, and legs, all animated with various movements.

How can users interact with the MY FIRST TEST sketch to influence the robot's movements?

Users can trigger the robot's head rotation and arm animations, as well as initiate bouncing behavior, potentially through mouse clicks or keyboard inputs depending on additional code.

What creative coding techniques are showcased in the MY FIRST TEST sketch?

This sketch demonstrates techniques such as using trigonometric functions for animation, managing state with flags, and structuring a modular code layout for easy adjustments.

🎬 Video Preview