Random pictures thread

Discussion in 'Off Topic' started by sk89q, 1 December 2011.

  1. Azimath

    Azimath Master Zepplin Thief

    Joined:
    22 January 2012
    Messages:
    30
    Likes Received:
    6
    Are you trying to simulate the gravitational interaction between all the planets? That might get real messy, depending on how good the floating point math is, and what kind of timescale its on.
     
  2. Brodolon

    Brodolon Edit post Abuser

    Joined:
    12 April 2014
    Messages:
    368
    Likes Received:
    57
    or he could set the center of the sprite at the sun and then just rotate it
     
  3. Penagwin

    Penagwin Linux Servers are better then windows!

    Joined:
    10 February 2013
    Messages:
    114
    Likes Received:
    45

    Array/List/Dictionary whatever the python equivalent is; all of the objects with gravity. Do the same calculations you do to the planet you are calculating to the sun, and each of the other objects with gravity (one of the object fields should be strength).

    Python is actually great with large numbers(Large as in lots of digits, placement of decimal doesn't really matter). Where in java you have to use things like BigIntegers, python will handle that all automagically.
     
  4. SomeEnderpenguin

    SomeEnderpenguin Not a Penguin

    Joined:
    28 March 2014
    Messages:
    301
    Likes Received:
    66
    The only problem in the simulation was that Pygame acts silly when the window is dragged around. Otherwise, it would work perfectly.
    [​IMG]
    If I knew how to, I might even have put the calculation and drawing in separate threads. But I don't know how to do that just yet.
     
  5. SomeEnderpenguin

    SomeEnderpenguin Not a Penguin

    Joined:
    28 March 2014
    Messages:
    301
    Likes Received:
    66
    I am putting all the planets in a list, and updating their positions accordingly each frame.
     
  6. punk_and_goth

    punk_and_goth AFK a minimum of 23 hours, 59 minutes per day.

    Joined:
    7 February 2013
    Messages:
    312
    Likes Received:
    128
  7. SomeEnderpenguin

    SomeEnderpenguin Not a Penguin

    Joined:
    28 March 2014
    Messages:
    301
    Likes Received:
    66
    I don't speak Russian.
    [​IMG]
    Steam hackers are getting stupider every second.
     
  8. Penagwin

    Penagwin Linux Servers are better then windows!

    Joined:
    10 February 2013
    Messages:
    114
    Likes Received:
    45
    Я люблю пингвинов много
     
  9. LordXyroz

    LordXyroz *insert ridiculously long title here*

    Joined:
    25 February 2014
    Messages:
    213
    Likes Received:
    30
    I think there is an "o" in there somewhere...
     
  10. Penagwin

    Penagwin Linux Servers are better then windows!

    Joined:
    10 February 2013
    Messages:
    114
    Likes Received:
    45
    I really HATE the waiting game.
    [​IMG]
     
  11. Siioh

    Siioh If you can read this, you're too far

    Joined:
    29 May 2013
    Messages:
    333
    Likes Received:
    118
    I love the fact that Amazon gives you the option to "Buy it Again," because clearly who doesn't need two computer cases for the same computer.
     
    SomeEnderpenguin and Brodolon like this.
  12. Brodolon

    Brodolon Edit post Abuser

    Joined:
    12 April 2014
    Messages:
    368
    Likes Received:
    57
    Whats even worse is waiting for a rebate
     
  13. Penagwin

    Penagwin Linux Servers are better then windows!

    Joined:
    10 February 2013
    Messages:
    114
    Likes Received:
    45
    I'm finally like, screw rebates... AMAZON!
     
  14. uberifix

    uberifix Positively Froody

    Joined:
    10 October 2014
    Messages:
    39
    Likes Received:
    16
  15. punk_and_goth

    punk_and_goth AFK a minimum of 23 hours, 59 minutes per day.

    Joined:
    7 February 2013
    Messages:
    312
    Likes Received:
    128
    man reason my profile is the way it is!
    seems after level 20 it seems the spammers go after you.

    [​IMG]

    http://steamcommunity.com/id/PUNK_AND_GOTH/

    [​IMG]
     
  16. Siioh

    Siioh If you can read this, you're too far

    Joined:
    29 May 2013
    Messages:
    333
    Likes Received:
    118
    There are way too many Steam viruses out there...
     
  17. punk_and_goth

    punk_and_goth AFK a minimum of 23 hours, 59 minutes per day.

    Joined:
    7 February 2013
    Messages:
    312
    Likes Received:
    128
    And people who can't read very carefully
     
    Siioh likes this.
  18. Penagwin

    Penagwin Linux Servers are better then windows!

    Joined:
    10 February 2013
    Messages:
    114
    Likes Received:
    45
    [​IMG]
    Totally completely safe temperatures are my priority! Kinda....
     
  19. SomeEnderpenguin

    SomeEnderpenguin Not a Penguin

    Joined:
    28 March 2014
    Messages:
    301
    Likes Received:
    66
    Alice be liek NOM NOM NOM
    [​IMG]
     
  20. Brodolon

    Brodolon Edit post Abuser

    Joined:
    12 April 2014
    Messages:
    368
    Likes Received:
    57
    might sound really nooby but how do u guys screenshot stuff?