Your coding challenges bring so much joy and satisfaction. Thank you for making these
@douggief1367
4 жыл бұрын
Great tutorial. Thanks. I made a spirograph game years ago similar to this, but with a second circle (AKA theta x radius) rotating around inside the first. In Turbo Pascal, now defunct.
@Snapper-ye7yq
8 жыл бұрын
Your video tutorials are awesome. I am html/css only and was looking for some tutorials on java. I found your p5 video about plotting some basic shapes / square / circle etc and tried it on codepen. Now p5 is my new passion in coding and last night, I saw a codepen on the mandlebrot set and when I checked the comments it said thanks to you, and coded in p5 ! I was all over that code haha - you rock, TY so much !
@TheCodingTrain
8 жыл бұрын
Thank you for the nice feedback!
@curt15pb
6 жыл бұрын
Im so proud I was paying enough attention to notice the mistake at 11:00 as he made it.
@KnakuanaRka
6 жыл бұрын
curt15pb Actually, he made the mistake at 8:03. I caught as soon as he said to multiply by n.
@destroyerdev6650
7 жыл бұрын
Thanks! I am making a Shmups game and I will use this for the squad formation shapes !!
@TheCodingTrain
7 жыл бұрын
Cool!
@damianbutterworth2434
Жыл бұрын
In the 80`s I wrote a 2d gravity simulator for planets etc on the ZXSpectrum. I used the Gravity Force equation. I still can not get it right now on BBC BASIC for WINDOWS. I can get all the planets to calculate the force each place on each other using the triangle equation to find the distance they are from each other, but I am struggling to put the force at the right angle back into a planets motion. I do remember cheating years ago and it and had a error with divide at zero when the 2 planets were on the same x or y axis so had to put a if statement it so if they were on the same axis it would skip the calculation. Would be good if you could do something like it with this newer coding. :)
@TheEwc330
8 жыл бұрын
Thanks for the video! Please make 3D soon! :)
@TheCodingTrain
8 жыл бұрын
i will!
@atrumluminarium
7 жыл бұрын
Would it be wise to tie the number of points to the variable m? Because as m increases (and thus the "spikes") the tip of of some spikes may not necessarily fall on the points and end up shorter. I was thinking setting total = (2*m)*n Where n is just a place holder for what ever resolution one deems necessary (like for example say 200) and the factor of 2 is so that there will be a guaranteed point on the tip of the spike and in between the spikes
@woulg
3 жыл бұрын
Bless Paul Bourke, he's so awesome.
@JaYJ4yVM
8 жыл бұрын
Damn I wish I was as intelligent and smart as you. If I see those formules, I would insta quit xD
@thomaswaller4517
8 жыл бұрын
It just takes learning. Study mathematics like Trigonometry, which is what that is. And studying P5. you can do everything he shows in the video on your own + So much more!
@AsifMehedi
8 жыл бұрын
Khan Academy is a good place to learn or review Trigonometry and Algebra. Plenty of learning materials on KZitem too. You just need to spend some time. No special intelligence is required.
@rbhog
8 жыл бұрын
+Daniel Shiffman Wouldn't the letters that you mentioned at 2 : 45 be variables because they can change and not constants because constants remain the same.
@TheCodingTrain
8 жыл бұрын
yes, good point!
@KnakuanaRka
5 жыл бұрын
They are constant within any single supershape; the variables are phi and r.
@ablearner7515
2 жыл бұрын
Maybe this can be used to generate the terrain for a game
@xmicks
7 жыл бұрын
Found a small bug in your formula, see the formula in code on the paul burke webpage. the shapes you tried in the video would still render correctly but more advanced shapes it wouldnt do with the code you wrote. in part1 it should be: var part1 = cos(phi * m / 4) / a; In the for loop you could multiply the incremental variable 'angle' with PI. this way you always end up on 0 (or 2PI).
@martijnvankekem
6 жыл бұрын
You know that (1/a) * cos(phi * m / 4) is equals to cos(phi * m / 4) / a right?
@mspeir
5 жыл бұрын
What's with that bizarre square root symbol? I've never seen it drawn so strangely.
@TF2Gaming101
6 жыл бұрын
Very interesting math
@smalinux
8 жыл бұрын
Super!
@TheCodingTrain
8 жыл бұрын
Thanks for watching!
@calderarox
8 жыл бұрын
very nice video!
@TheCodingTrain
8 жыл бұрын
thank you!
@joostvhts
2 жыл бұрын
1:44 that's stabbed Patrick
@activede
8 жыл бұрын
Amazing video
@TheCodingTrain
8 жыл бұрын
Thanks for watching!
@thomaswaller4517
8 жыл бұрын
Nice video!
@TheCodingTrain
8 жыл бұрын
thank you!
@thomaswaller4517
8 жыл бұрын
Daniel Shiffman No problem, and can you make a video on Jumping logic in video games. Like pressing a key once and it jumps for you. The best logic I can program is making you having to hold the key and it jumps, but it doesn't have a limit. maybe I'm over thinking it?
@TheCodingTrain
8 жыл бұрын
take a look at this one! kzitem.info/news/bejne/sKuwx5NqjKWTf5g you can make suggestions here: github.com/CodingRainbow/Rainbow-Topics/issues
@thomaswaller4517
8 жыл бұрын
Daniel Shiffman Thanks!
@Shockszzbyyous
7 жыл бұрын
can you use this formula to describe shapes perfectly ? like for example make pictures that are infinitely zoom-able ? like you can zoom in and in but the shape will never pixelate
@hammer158
7 жыл бұрын
Vector shapes!!
@kentlab3850
6 жыл бұрын
Omg i love you
@nishantthakuribm
4 жыл бұрын
Coding Challenge : kzitem.info/news/bejne/qIV83aeVoZqLpm0. Although it is already created it would be great to know the building blocks on how this is done. Could be done in 2-4 vedios the code is already there but as a novice programmer.. I get lost in the code.. :)
@glenthemann
7 жыл бұрын
That's an nth root, not n times sqrt..!
@SimonTiger
5 жыл бұрын
He's noticed later in the video.
@nonicknamename
7 жыл бұрын
is processing or p5.js a IDE only artitst should use or could you do the same things like in eclipse with this?
@alonf11902
6 жыл бұрын
What editor he use ?
@AbdulAziz-lf9lg
6 жыл бұрын
Alon Friedman atom
@handsome_man69
7 жыл бұрын
i know what you mean, but i don't know if you see what i'm saying. do you understand?
Пікірлер: 52