Jump to content

So i've been trying to get my moon to orbit a already orbiting earth for a while now but i cant figure out how to do it.

Why does thos work

http://www.codecademy.com/chrismillah/codebits/ccqAsp/edit

But not this?

http://codepen.io/Redliquid/pen/LENqKr?editors=010

Thanks in forehand <3

Redliquid~

Link to comment
https://linustechtips.com/topic/270757-html-css-orbits/
Share on other sites

Link to post
Share on other sites

The moon and moon orbit are meant to be a child of earth orbit, meaning you close the earth orbit div after moon and moon orbit

I am good at computer

Spoiler

Motherboard: Gigabyte G1 sniper 3 | CPU: Intel 3770k @5.1Ghz | RAM: 32Gb G.Skill Ripjaws X @1600Mhz | Graphics card: EVGA 980 Ti SC | HDD: Seagate barracuda 3298534883327.74B + Samsung OEM 5400rpm drive + Seatgate barracude 2TB | PSU: Cougar CMX 1200w | CPU cooler: Custom loop

Link to comment
https://linustechtips.com/topic/270757-html-css-orbits/#findComment-3674128
Share on other sites

Link to post
Share on other sites

Is there annything related to coding that you dont know?

Haha, have I helped you before....?

Yes, loads, I have an extremely basic knowledge of most languages (yes, that includes brainfuck before you ask) but only very basic. So there's lots to learn. I know a bit more about python and c++ but my focus is on Web development. So I know a fair bit about php, JavaScript and a bit of asp.... But no one really uses asp, so neither do I.

I'm more of a hardware guy though

I am good at computer

Spoiler

Motherboard: Gigabyte G1 sniper 3 | CPU: Intel 3770k @5.1Ghz | RAM: 32Gb G.Skill Ripjaws X @1600Mhz | Graphics card: EVGA 980 Ti SC | HDD: Seagate barracuda 3298534883327.74B + Samsung OEM 5400rpm drive + Seatgate barracude 2TB | PSU: Cougar CMX 1200w | CPU cooler: Custom loop

Link to comment
https://linustechtips.com/topic/270757-html-css-orbits/#findComment-3676910
Share on other sites

Link to post
Share on other sites

Haha, have I helped you before....?

Yes, loads, I have an extremely basic knowledge of most languages (yes, that includes brainfuck before you ask) but only very basic. So there's lots to learn. I know a bit more about python and c++ but my focus is on Web development. So I know a fair bit about php, JavaScript and a bit of asp.... But no one really uses asp, so neither do I.

I'm more of a hardware guy though

That's pretty cool ^^ I appear to be getting in to web development myself, atleast that's what im doing mostly right now.

I think you have, i've seen you around here alot i think.

Btw, im having troubble getting my moon to orbit the earth still.

It orbits, but it doesnt orbit around the earth,

wanna talke a look at it?

http://codepen.io/Redliquid/pen/LENqKr?editors=010

 

Probably quite messy though since i've been changing code left and right just to see what happens

Redliquid~

Link to comment
https://linustechtips.com/topic/270757-html-css-orbits/#findComment-3677136
Share on other sites

Link to post
Share on other sites

That's pretty cool ^^ I appear to be getting in to web development myself, atleast that's what im doing mostly right now.

I think you have, i've seen you around here alot i think.

Btw, im having troubble getting my moon to orbit the earth still.

It orbits, but it doesnt orbit around the earth,

wanna talke a look at it?

http://codepen.io/Redliquid/pen/LENqKr?editors=010

Probably quite messy though since i've been changing code left and right just to see what happens

I'll try and have a look tonight, just finished work and I'll be heading off to a date later on. It's probably the positioning of the moon though

I am good at computer

Spoiler

Motherboard: Gigabyte G1 sniper 3 | CPU: Intel 3770k @5.1Ghz | RAM: 32Gb G.Skill Ripjaws X @1600Mhz | Graphics card: EVGA 980 Ti SC | HDD: Seagate barracuda 3298534883327.74B + Samsung OEM 5400rpm drive + Seatgate barracude 2TB | PSU: Cougar CMX 1200w | CPU cooler: Custom loop

Link to comment
https://linustechtips.com/topic/270757-html-css-orbits/#findComment-3678105
Share on other sites

Link to post
Share on other sites

Let me know how it goes :-D

Sorry I took so long, got home from date at 3am, work for me starts at 5am. Anyways, not sure if still relevant, but here you go

 

http://codepen.io/anon/pen/EayPqV

I am good at computer

Spoiler

Motherboard: Gigabyte G1 sniper 3 | CPU: Intel 3770k @5.1Ghz | RAM: 32Gb G.Skill Ripjaws X @1600Mhz | Graphics card: EVGA 980 Ti SC | HDD: Seagate barracuda 3298534883327.74B + Samsung OEM 5400rpm drive + Seatgate barracude 2TB | PSU: Cougar CMX 1200w | CPU cooler: Custom loop

Link to comment
https://linustechtips.com/topic/270757-html-css-orbits/#findComment-3686519
Share on other sites

Link to post
Share on other sites

Sorry I took so long, got home from date at 3am, work for me starts at 5am. Anyways, not sure if still relevant, but here you go

 

http://codepen.io/anon/pen/EayPqV

Comparing, Thanks alot =) <3

How'd it go?

Edit: That was almost to simple...sorry i didnt find it myself xD

Redliquid~

Link to comment
https://linustechtips.com/topic/270757-html-css-orbits/#findComment-3688968
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×