Nice Christmas ball, light, cute and exciting. I like that colour. 🎉 Thank you, Radu.
@Radu8 күн бұрын
Thank you, too, for watching :-)
@pesterenan7 күн бұрын
It turned out pretty good! I liked the code organization also, a lot of good code utilization and improvement!
@Radu7 күн бұрын
Thanks! If you would improve somehow, let me know :-)
@DanielJoseAutodesk8 күн бұрын
I liked the technique you used to draw the ball, but mainly the technique adopted to paint it. 😁👍I'm still trying to understand the code snippet: get y(), this is why for me this snippet has a very different concept. Anyway the explanation was very GOOD .👏👏👏👏
@Radu8 күн бұрын
Happy to hear you liked the drawing 🙂 Getters in JavaScript are methods that let you get the value of an attribute dynamically. They let you define a property that appears as a regular attribute but executes some logic or calculation whenever it is accessed. The property accessed via a getter doesn't have a value defined at the time the object is created. It is computed dynamically whenever the property is accessed.
@Dragonforge-Studios9 күн бұрын
Dude your projects are crazy! I can never even think of the things you make.
@Radu9 күн бұрын
It comes with practice. That's why it's important to practice :-)
@___d3p16 күн бұрын
Great Christmas ball!!! Wonderful use of the gradient effect!
@Radu6 күн бұрын
:-) Thanks
@nullternative9 күн бұрын
Good job
@Radu9 күн бұрын
Haha, thanks! :-)
@javifontalva77528 күн бұрын
Merci
@Radu8 күн бұрын
Bien sûr :-)
@eren-qu9wm6 күн бұрын
this video is awesome and i learned new concepts , do more maths related videos sir.
@Radu6 күн бұрын
I'm planning a big one for the summer :-)
@ChandrashekarCN8 күн бұрын
💖💖💖💖
@Radu8 күн бұрын
🎄
@ChandrashekarCN8 күн бұрын
@Radu 💖💖💖💖
@spacticals7 күн бұрын
i am literally becoming good in js just for such teachers .
@Radu7 күн бұрын
Happy to hear! Keep getting better :-)
@MadaraAzukar9 күн бұрын
❤🎉
@Radu9 күн бұрын
🎅
@pizdaxyu5 күн бұрын
for me code broke and highlight object wanted x: ball.x without ball.radius * 0.3 const highlight = { x: ball.x, y: ball.y - ball.radius * 0.3, }; otherwise I got an error: ball.js:31 Uncaught TypeError: Failed to execute 'createRadialGradient' on 'CanvasRenderingContext2D': The provided double value is non-finite
@Radu5 күн бұрын
Could you share the code somehow? And what browser do you use?
@pizdaxyu5 күн бұрын
@@Radu weird, can no longer replicate. browser is latest chrome
@Radu5 күн бұрын
Maybe some weird, cache issue... Sometimes it happens.
@RatanBasak-f8h9 күн бұрын
Sir , Do you have a plan to do something like self driving car, some machine learning based fun game or something?
@Radu9 күн бұрын
Nope. I do plan to teach some math in the summer. That project is not AI related, but the math is the same used by neural networks.