🧠 What I Learned
Today, I created a futuristic robot face using JavaScript and the p5.js library. This exercise helped me build on earlier lessons about rect() and ellipse() by combining them creatively to give the robot a modern, glowing appearance.
I also learned how to:
- Use rounded corners with the rect() function
- Create layered effects using color + transparency (alpha)
- Simulate neon glow using multiple ellipses
- Add personality (like a neural-link antenna) with simple shapes
- Choose a strong background color to make my robot “pop”
🎯 Goal
Make a robot that looks like it belongs in the future — glowing eyes, antenna, soundbar-style mouth — and experiment with colors to enhance contrast and clarity.
🧾 Code Concepts Used
- rect(x, y, width, height, radius) for a head with rounded edges
- ellipse() for eyes and glow effects
- line() for a sleek antenna
- fill() with RGB values and alpha transparency
- background() to test visual contrast
- stroke() and noStroke() for outlining control
🎨 Color Decisions