Tech News, Magazine & Review WordPress Theme 2017
  • Home
  • SMARTHOME
  • PC
  • ANDROID
  • IPHONE
  • AI
  • WEARABLES
  • REVIEW
  • ACCESSORIES
  • STREAMING
No Result
View All Result
kakimotonline
No Result
View All Result
Home

Understanding 3 of 400: Easy Tips for This Limited Group

by gkb
07/02/2025
in AI
Reading Time: 2 mins read
0
Share on FacebookShare on Twitter

Okay, so, “3 of 400” – sounds kinda mysterious, right? It’s actually just my super simple way of tracking my daily creative coding challenge. I decided to do 400 of these mini-projects, and this is just day three. Nothing fancy, I promise.

I started by firing up Processing. It’s this cool, free software thing that lets you draw stuff with code. I’ve been messing with it for a while, but I’m definitely no expert. Just a heads-up.

My goal for today was simple: make some circles move around. I know, I know, it’s not exactly groundbreaking, but you gotta start somewhere, right? I opened a new sketch and started with the basic setup.

  • I set the size of my canvas – I think I went with 600×400 pixels. Just a random size, really.
  • I picked a background color. Something dark, so the circles would pop.
  • I declared a few variables,things to hold the circle’s position and speed.

Then, inside the draw() function – this is the part that runs over and over, making the animation happen – I did the following:

  • I created a circle using the ellipse() function. I gave it the x and y position that I defined before.
  • I updated the position of the circle by adding the speed to it. Think of it like, each time the draw() function runs, the circle moves a little bit.
  • I add condition, I made sure the circle bounced off the edges of the canvas. So, when it hit the side, the speed would reverse. Just some simple “if” statements.

Honestly, the first few tries were a mess. The circle was either too slow, too fast, or it just flew off the screen. It took some tweaking of the numbers to get it looking okay. I kept changing the speed values and the starting position until I was happy with it.

I spent quite a bit of time messing with the colors. Then, I made the circle change color every time it bounced off the edge of the canvas. Then I make the circle trail.

And that’s it, That’s my “3 of 400”. A super basic animation of a bouncing,color change and trail circle. I’m not gonna win any awards for it, but I learned a few things, and that’s the whole point of this challenge, right? Just keep practicing, keep making stuff, and see what happens. Tomorrow: something different. Maybe squares? Who knows!

Previous Post

USB to Mini Port Adapters: Simple Guide for Connecting Devices

Next Post

Blink Live View Integration: Simple Home Automation Guide.

Related Posts

AI

Refurbished Herman Miller Chairs: Find Great Deals Here!

12/04/2025
AI

The Experiment Subject NYT Ethics Debate: What Are the Main Critical Points Discussed Often?

11/04/2025
AI

What is emoji wordle (Quick game info)

11/04/2025

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • Refurbished Herman Miller Chairs: Find Great Deals Here!
  • How to Choose the Right Metal Plate Adhesive Quickly
  • Is 256GB enough storage? Lets figure out how many photos can 256gb hold for everyday use.
  • Understanding the 4080 price history guide: Find out when these GPU prices typically start to drop.
  • Where can you buy a really good iphone 12 privacy screen protector? We review some of the most reliable and popular options available right now.
No Result
View All Result

Categories

  • ACCESSORIES (273)
  • AI (284)
  • ANDROID (68)
  • IPHONE (243)
  • PC (291)
  • REVIEW (257)
  • SMARTHOME (278)
  • STREAMING (282)
  • WEARABLES (250)
kakimotonline

© 2025 KKMTON

Navigate Site

  • SMARTHOME
  • IPHONE
  • PC
  • ANDROID
  • WEARABLES
  • AI
  • ACCESSORIES
  • REVIEW
  • STREAMING

Follow Us

No Result
View All Result
  • Home
  • PC
  • AI
  • ANDROID
  • IPHONE
  • SMARTHOME
  • WEARABLES
  • REVIEW
  • ACCESSORIES
  • STREAMING

© 2025 KKMTON