Could someone explain sine and cosine?


#1

I'm quite unsure on how sine and cosine work? I know a bit...
1. What does it do?
2. How do you know the dimensions.
3. Could someone give a large explanation?
4. What do values have to do with it?
5. Main question! @creationsofanoob said that you can use this to spawn something outside of the screen. (E.G, Steve in Minecraft sneak up.) how do you do This?

Big project coming so help would be awesome!

omtl
List ( tags)
@BB-Box
@Allyb
@ArtyAnimal
@AvocadoDont
@AwesomeNachos
@BaconStudios
@BellaWafflez17
@BerryFOX
@BlastFusion
@bluedogmc-official
@BubblegumCupcakeMix
@ButterBark
@Candycane
@CatWithABrush
@ChocolateFox
@CodePerfect
@codingkit
@ColourfulBlack
@ConnellCoder
@CreationsOfaNoob
@cupcakemaniac1
@Cutedolphin
@DA-BEASTY
@DiamondDragon
@diss_track_queen
@DMF
@Dylan329
@Ella_13
@EmojiArts
@EmojisRUs
@Explorer_
@FascinatingTreehouse
@FluffyMarshmellow
@FoodDelivery
@FortatoBuilder
@FunkyGoldfish
@GiraffeProductions
@GLaDOS_On_Da_Forum
@Goku
@happy12345678910
@HappyPerson
@Himynameismeredith1
@IKeudin
@Jess888
@JojoDude
@KarmicSans2
@KawaiiRose
@Kitkat26
@KittyShip
@KoolM123
@KVJ
@LavenderArts
@lollypopcorn
@Mei-The-Riolu
@MiiR_legend
@MiNi
@minioncandy
@MudFlowerCat
@Murphy1
@NeoPixel
@Petrichor
@Paige1212
@Paydent12
@PerfectPanda24
@PianoGorilla2006
@Potter_Head
@PumpkinGirl
@Puppylulu
@PurpleStorybook
@Rainboom
@RubyStars
@ScarySweetheart
@Sensei_Coder
@Silverdolphin
@SnowGirl_Studios
@StarryDream
@Steelhooves
@StRiKe_Charler123
@Sugarisyummy
@TheDrawer
@Themasterofairjitzu
@treefrogstudios
@TrevCoding
@Valgo
@ValueGamesStudio
@Vortex.inc
@waddlemarco
@WasIdealessHere
@weathercats
@William04GamerA
@Yellow_Mellow
@YuxinaYammy
@Zachyswag


#2

I can't, but @UptownStudios can!


#3

@KVJ is really good with sine and cosine! Also here are some good topics:




#4

I get it now. Thanks.


#5

Now I'm focused on the MAIN QUESTION at the top?


#6

Ok if someone explains that would be great because I have no idea xD nice topic @BlastFusion @DMF


#7

Yeah. What's DMF got to do with this topic?


#8

Thanks!


#9

DMF is amazhang with CoSine!


#10

He knows somewhat of CoSine xD


#11

Can we get to the main point , listed above as question 5. @creationsofanoob seems to know.


#12

Hmm. With a Set position block, but making the "radius" (the first blank) large enough, you can make the object go off the screen. Like, if its at (500,400) and you set position to X( 600 ) X cos( value ) + 500, Y( y pos ), it would be off screen, at a Y pos. you could switch up the X and Y though.


#13

An can this be random? So that the object can spawn anywhere?


#14

Yeah! All you need is a Random block for the radius. If you use it for X and Y, you could also randomise the CoSine value (the second blank)!


#15

I just tested this on a blank project, and made the object change X by -10 and it quickly reappeared. I did 2000 X (cosine (value) ) + 512. Thanks anyway for helping but the objects needs to be way off the screen.


#16

Does a big radius work, then?


#17

2000, is that big enough?


#18

Nor does 200000000 (200 million)


#19

Hello (:
I don't know anymore then you do :flushed:


Whenever I use them I'm just experimenting...


#20

Even 200 million doesn't work? :0

The only thing I can think of besides CoSine is by expanding the screen, like with scrolling...