Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Late night coding

Late night coding

Scheduled Pinned Locked Moved The Lounge
htmljavascriptcomquestion
15 Posts 8 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    M dHatter
    wrote on last edited by
    #1

    Anyone want to see the HTML5 canvas magic I come up with at 3 in the morning? :-D Magik Canvas[^] It's actually a crazy idea behind the code. I created a Javascript Thread Pool and off screen canvas to load into web workers. It can paint and count pretty damn fast. Once I am done, I will write an article about it.

    Scissors cuts paper, paper covers rock, rock crushes lizard, lizard poisons Spock, Spock smashes scissors, scissors decapitates lizard, lizard eats paper, paper disproves Spock, Spock vaporizes rock, and as it always has, rock crushes scissors. :)

    R M M Z N 7 Replies Last reply
    0
    • M M dHatter

      Anyone want to see the HTML5 canvas magic I come up with at 3 in the morning? :-D Magik Canvas[^] It's actually a crazy idea behind the code. I created a Javascript Thread Pool and off screen canvas to load into web workers. It can paint and count pretty damn fast. Once I am done, I will write an article about it.

      Scissors cuts paper, paper covers rock, rock crushes lizard, lizard poisons Spock, Spock smashes scissors, scissors decapitates lizard, lizard eats paper, paper disproves Spock, Spock vaporizes rock, and as it always has, rock crushes scissors. :)

      R Offline
      R Offline
      Rage
      wrote on last edited by
      #2

      From here it looks like an HTML5 display of your signature.

      ~RaGE();

      I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus Do not feed the troll ! - Common proverb

      1 Reply Last reply
      0
      • M M dHatter

        Anyone want to see the HTML5 canvas magic I come up with at 3 in the morning? :-D Magik Canvas[^] It's actually a crazy idea behind the code. I created a Javascript Thread Pool and off screen canvas to load into web workers. It can paint and count pretty damn fast. Once I am done, I will write an article about it.

        Scissors cuts paper, paper covers rock, rock crushes lizard, lizard poisons Spock, Spock smashes scissors, scissors decapitates lizard, lizard eats paper, paper disproves Spock, Spock vaporizes rock, and as it always has, rock crushes scissors. :)

        M Offline
        M Offline
        Malli_S
        wrote on last edited by
        #3

        After certain count it stopped the painting.

        [Delegates]      [Virtual Desktop]      [Tray Me !]
        -Malli...! :rose:****

        M 1 Reply Last reply
        0
        • M Malli_S

          After certain count it stopped the painting.

          [Delegates]      [Virtual Desktop]      [Tray Me !]
          -Malli...! :rose:****

          M Offline
          M Offline
          M dHatter
          wrote on last edited by
          #4

          Yea, its a test to see how long it takes to paint 1024 off screen objects while counting in separate thread

          Scissors cuts paper, paper covers rock, rock crushes lizard, lizard poisons Spock, Spock smashes scissors, scissors decapitates lizard, lizard eats paper, paper disproves Spock, Spock vaporizes rock, and as it always has, rock crushes scissors. :)

          M 1 Reply Last reply
          0
          • M M dHatter

            Yea, its a test to see how long it takes to paint 1024 off screen objects while counting in separate thread

            Scissors cuts paper, paper covers rock, rock crushes lizard, lizard poisons Spock, Spock smashes scissors, scissors decapitates lizard, lizard eats paper, paper disproves Spock, Spock vaporizes rock, and as it always has, rock crushes scissors. :)

            M Offline
            M Offline
            Malli_S
            wrote on last edited by
            #5

            That explains. :thumbsup: But painting stopped at around 600.

            [Delegates]      [Virtual Desktop]      [Tray Me !]
            -Malli...! :rose:****

            M 1 Reply Last reply
            0
            • M Malli_S

              That explains. :thumbsup: But painting stopped at around 600.

              [Delegates]      [Virtual Desktop]      [Tray Me !]
              -Malli...! :rose:****

              M Offline
              M Offline
              M dHatter
              wrote on last edited by
              #6

              You must have a fast video card. Its rendering above 100 fps

              Scissors cuts paper, paper covers rock, rock crushes lizard, lizard poisons Spock, Spock smashes scissors, scissors decapitates lizard, lizard eats paper, paper disproves Spock, Spock vaporizes rock, and as it always has, rock crushes scissors. :)

              M 1 Reply Last reply
              0
              • M M dHatter

                You must have a fast video card. Its rendering above 100 fps

                Scissors cuts paper, paper covers rock, rock crushes lizard, lizard poisons Spock, Spock smashes scissors, scissors decapitates lizard, lizard eats paper, paper disproves Spock, Spock vaporizes rock, and as it always has, rock crushes scissors. :)

                M Offline
                M Offline
                Malli_S
                wrote on last edited by
                #7

                OK.

                [Delegates]      [Virtual Desktop]      [Tray Me !]
                -Malli...! :rose:****

                1 Reply Last reply
                0
                • M M dHatter

                  Anyone want to see the HTML5 canvas magic I come up with at 3 in the morning? :-D Magik Canvas[^] It's actually a crazy idea behind the code. I created a Javascript Thread Pool and off screen canvas to load into web workers. It can paint and count pretty damn fast. Once I am done, I will write an article about it.

                  Scissors cuts paper, paper covers rock, rock crushes lizard, lizard poisons Spock, Spock smashes scissors, scissors decapitates lizard, lizard eats paper, paper disproves Spock, Spock vaporizes rock, and as it always has, rock crushes scissors. :)

                  M Offline
                  M Offline
                  MT_
                  wrote on last edited by
                  #8

                  I thought IE 10 is HTML 5 compliant ! Its not displaying anything other than a counter !

                  Thanks, Milind

                  M 1 Reply Last reply
                  0
                  • M MT_

                    I thought IE 10 is HTML 5 compliant ! Its not displaying anything other than a counter !

                    Thanks, Milind

                    M Offline
                    M Offline
                    M dHatter
                    wrote on last edited by
                    #9

                    thats cause ie is crap lol, but probably because I havent tested on windows yet... im on linux

                    Scissors cuts paper, paper covers rock, rock crushes lizard, lizard poisons Spock, Spock smashes scissors, scissors decapitates lizard, lizard eats paper, paper disproves Spock, Spock vaporizes rock, and as it always has, rock crushes scissors. :)

                    1 Reply Last reply
                    0
                    • M M dHatter

                      Anyone want to see the HTML5 canvas magic I come up with at 3 in the morning? :-D Magik Canvas[^] It's actually a crazy idea behind the code. I created a Javascript Thread Pool and off screen canvas to load into web workers. It can paint and count pretty damn fast. Once I am done, I will write an article about it.

                      Scissors cuts paper, paper covers rock, rock crushes lizard, lizard poisons Spock, Spock smashes scissors, scissors decapitates lizard, lizard eats paper, paper disproves Spock, Spock vaporizes rock, and as it always has, rock crushes scissors. :)

                      Z Offline
                      Z Offline
                      ZurdoDev
                      wrote on last edited by
                      #10

                      Why did the counter stop at 5,345,323? ;)

                      There are only 10 types of people in the world, those who understand binary and those who don't.

                      M 1 Reply Last reply
                      0
                      • Z ZurdoDev

                        Why did the counter stop at 5,345,323? ;)

                        There are only 10 types of people in the world, those who understand binary and those who don't.

                        M Offline
                        M Offline
                        M dHatter
                        wrote on last edited by
                        #11

                        Because the sun's magnetic poles flipped?

                        Scissors cuts paper, paper covers rock, rock crushes lizard, lizard poisons Spock, Spock smashes scissors, scissors decapitates lizard, lizard eats paper, paper disproves Spock, Spock vaporizes rock, and as it always has, rock crushes scissors. :)

                        1 Reply Last reply
                        0
                        • M M dHatter

                          Anyone want to see the HTML5 canvas magic I come up with at 3 in the morning? :-D Magik Canvas[^] It's actually a crazy idea behind the code. I created a Javascript Thread Pool and off screen canvas to load into web workers. It can paint and count pretty damn fast. Once I am done, I will write an article about it.

                          Scissors cuts paper, paper covers rock, rock crushes lizard, lizard poisons Spock, Spock smashes scissors, scissors decapitates lizard, lizard eats paper, paper disproves Spock, Spock vaporizes rock, and as it always has, rock crushes scissors. :)

                          N Offline
                          N Offline
                          NormDroid
                          wrote on last edited by
                          #12

                          Stops after 400.

                          Web | News | LinkedIn

                          1 Reply Last reply
                          0
                          • M M dHatter

                            Anyone want to see the HTML5 canvas magic I come up with at 3 in the morning? :-D Magik Canvas[^] It's actually a crazy idea behind the code. I created a Javascript Thread Pool and off screen canvas to load into web workers. It can paint and count pretty damn fast. Once I am done, I will write an article about it.

                            Scissors cuts paper, paper covers rock, rock crushes lizard, lizard poisons Spock, Spock smashes scissors, scissors decapitates lizard, lizard eats paper, paper disproves Spock, Spock vaporizes rock, and as it always has, rock crushes scissors. :)

                            K Offline
                            K Offline
                            Kevin Marois
                            wrote on last edited by
                            #13

                            All I saw was a square with a number incrementing in it. What am I missing?

                            If it's not broken, fix it until it is

                            1 Reply Last reply
                            0
                            • M M dHatter

                              Anyone want to see the HTML5 canvas magic I come up with at 3 in the morning? :-D Magik Canvas[^] It's actually a crazy idea behind the code. I created a Javascript Thread Pool and off screen canvas to load into web workers. It can paint and count pretty damn fast. Once I am done, I will write an article about it.

                              Scissors cuts paper, paper covers rock, rock crushes lizard, lizard poisons Spock, Spock smashes scissors, scissors decapitates lizard, lizard eats paper, paper disproves Spock, Spock vaporizes rock, and as it always has, rock crushes scissors. :)

                              D Offline
                              D Offline
                              Dennis E White
                              wrote on last edited by
                              #14

                              very cool... :) I would also call it the CPU cooler. When it was running (before reaching it's completion) I could see the CPU utilization get pegged and then the fan kicked on.

                              you want something inspirational??

                              M 1 Reply Last reply
                              0
                              • D Dennis E White

                                very cool... :) I would also call it the CPU cooler. When it was running (before reaching it's completion) I could see the CPU utilization get pegged and then the fan kicked on.

                                you want something inspirational??

                                M Offline
                                M Offline
                                M dHatter
                                wrote on last edited by
                                #15

                                Yea I was having threading issues. I need to make one thread for running the callbacks from all the other threads. I only have it at 4 separate threads. Imagine if i filled the pools with threads, probably blow your computer up. lol

                                Scissors cuts paper, paper covers rock, rock crushes lizard, lizard poisons Spock, Spock smashes scissors, scissors decapitates lizard, lizard eats paper, paper disproves Spock, Spock vaporizes rock, and as it always has, rock crushes scissors. :)

                                1 Reply Last reply
                                0
                                Reply
                                • Reply as topic
                                Log in to reply
                                • Oldest to Newest
                                • Newest to Oldest
                                • Most Votes


                                • Login

                                • Don't have an account? Register

                                • Login or register to search.
                                • First post
                                  Last post
                                0
                                • Categories
                                • Recent
                                • Tags
                                • Popular
                                • World
                                • Users
                                • Groups