Circle generator for minecraft!

Published: 13 September 2019
on channel: RandomGgames
801
60

Thank Rays for suggesting I make a video on this. I was thinking no one would want to do it but I decided since he thought it was interesting, might as well.

So how does this work? If you have taken and remember trigonometry, you will notice that I am using cos and sin to get the relative x and y positions around the center of a circle (which I have set to me). If this cos and sin value is evaluated at every angle from 0-359, you can get all the coordinates of a circle. If you go from 0-359 in steps of 1, you have 360 coordinates. If you go in steps of 5, for example, 0, 5, 10.. 350, 355, 360, you have 72 coordinates instead of 360. I set a scoreboard value to each angle, and using that, can go through each scoreboard value and run the particle command (or any particle command) for that scoreboard, which means it runs at a certain angle, meaning it runs at a certain x and y position compared to the center of that circle. I use excel to calculate each cos and sin coordinate, and the final command which combines everything together. After that, I paste it into a function file and it's good to go!

Want to see the one I used in the video? Check it out here:
https://drive.google.com/file/d/1H5M1...
Make sure to set up the scoreboard name correctly, add one every tick, than reset the score after the score gets high enough

The stream was re-recorded from his twitch channel to use in the video with his permission!

Check out Rays YT channel here:    / craigenegger  

Want to join my Discord and talk directly with me?   / discord  

Check out my other stuff on my site! https://www.randomggames.com/