Physics says something about nature, it does not proove anything. We are only human.
What algorithm do you use to solve the differential equation? If you haven't, you should calculate the potential and kinetic energy and check if the total energy of the system remains constant. I'm going to write a similar program using Einstein's field equations, which give a more accurate description of gravity.
i've only calculated the atraction force between those 2 objects. I may not be a physicist but i know how to implement a simple physic law into a program. as long as you saw the system remaining stable why on earth are you asking if the total energy is constant, it's not obvious ?
and btw, i didn't say that physics prooves anything, my application prooves that newton laws are valid, i didn't planed the movement of those 2 objects, i've only applied the law on them.. and the algorithm generates their new position
I meant that verifying if the total energy remains constant is a good way of checking if your algorithm is stable for these kind of problems in general. And maybe I misunderstood you but how can you say that your algorithm proves the law, it just implements a differential equation. You can on the other hand do an experiment and 'prove' the law by saying that it is a good description of gravity. Nevertheless great job and happy xmas.
@poweredBYGD Einstein's field equations are more accurate but in a simple program like this it wont make any different, NASA still use newton and Einsteins laws
I really would like to know how do u create splines (those white lines). for example i have 2 spheres and i want to connect them by a line, and maybe the line can curve and avoid objects lying between the 2 spheres, how can u do that in dark gdk, or at least draw a straight line to begin with? is it possible to see the source code of ur program to learn? Thank you for ur time
these lines are drawn directly on to the screen , and not rendered from 3d space, if you want to do that there is a simple command dbLine(x1,y1,x2,y2), if you want a line in 3d space you can make a triangle with collinear coordinates
good work
vladtepits 4 months ago
This has been flagged as spam show
Very cool demo.
qmriis 6 months ago
u got mistakes..... in ur program...
o0oD4n1so0o 1 year ago
This has been flagged as spam show
@o0oD4n1so0o u got mistakes..... in ur speling
qmriis 6 months ago
BLAM haaietanden!
GOOB3000 2 years ago
Physics says something about nature, it does not proove anything. We are only human.
What algorithm do you use to solve the differential equation? If you haven't, you should calculate the potential and kinetic energy and check if the total energy of the system remains constant. I'm going to write a similar program using Einstein's field equations, which give a more accurate description of gravity.
haaientanden 2 years ago
i've only calculated the atraction force between those 2 objects. I may not be a physicist but i know how to implement a simple physic law into a program. as long as you saw the system remaining stable why on earth are you asking if the total energy is constant, it's not obvious ?
poweredBYGDK 2 years ago
and btw, i didn't say that physics prooves anything, my application prooves that newton laws are valid, i didn't planed the movement of those 2 objects, i've only applied the law on them.. and the algorithm generates their new position
poweredBYGDK 2 years ago
I meant that verifying if the total energy remains constant is a good way of checking if your algorithm is stable for these kind of problems in general. And maybe I misunderstood you but how can you say that your algorithm proves the law, it just implements a differential equation. You can on the other hand do an experiment and 'prove' the law by saying that it is a good description of gravity. Nevertheless great job and happy xmas.
haaientanden 2 years ago
@poweredBYGD Einstein's field equations are more accurate but in a simple program like this it wont make any different, NASA still use newton and Einsteins laws
jorreerroj 1 year ago
I dont understand but i love IT!!!! music PLEASE!!!!!!! I"M YOUR NUMBER ONE FAN AND I DONT KNOW WHY!!!
VicpixEntertainment 2 years ago
Woah Epic Win :D
BouyertheDestroyer 2 years ago
now now thats dangerous thinking
deadleg22 2 years ago
wooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooow this is blowing my mind hardcore
HJubb 2 years ago
ooeeee que bien friend thanks
milanisaac122 2 years ago
I really would like to know how do u create splines (those white lines). for example i have 2 spheres and i want to connect them by a line, and maybe the line can curve and avoid objects lying between the 2 spheres, how can u do that in dark gdk, or at least draw a straight line to begin with? is it possible to see the source code of ur program to learn? Thank you for ur time
AlienArcade 3 years ago
these lines are drawn directly on to the screen , and not rendered from 3d space, if you want to do that there is a simple command dbLine(x1,y1,x2,y2), if you want a line in 3d space you can make a triangle with collinear coordinates
poweredBYGDK 3 years ago
never thought of that, both great ideas, thank you very much
AlienArcade 3 years ago
How Long have you been programing in C++ for?
unlimitedhacker012 3 years ago
8 years
poweredBYGDK 3 years ago
Danm I'm doing some stuff with Visual Basic, I think I'm doing pretty danm good haha.
Well goo luck for in the future.
unlimitedhacker012 3 years ago
I personally like BASIC languages better than C/Java style languages. I want Dark BASIC, but the bastards won't put it out for free.
I really like the app, though. I'll check it out.
adamnew123456 2 years ago
amazing, wish i knew how to do this... was it hard?
TheMovieMaker123 3 years ago
it depends on your programming skills... the hardest thing was to implement the formula
poweredBYGDK 3 years ago
ahh yeah...
i have a lot of skills in visual basic but nothing in C++ atm, but hoping to learn
TheMovieMaker123 3 years ago
once you rule the basics .. its easy to adapt on any language ...
poweredBYGDK 3 years ago
ahh ok thanks, i will have to look into it
TheMovieMaker123 3 years ago
Hi. Very beautiful video. I actually coded something "similar" (very simplistic) to this in OpenGL. I wonder what the name of this song is.
computerex 3 years ago
i can't remember the name of this song,it's from audioswap...
poweredBYGDK 3 years ago
this is incredible , great job
finalkak 3 years ago
thanks
poweredBYGDK 3 years ago