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. 3D code analysis

3D code analysis

Scheduled Pinned Locked Moved The Lounge
comquestion
38 Posts 22 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.
  • J Jim Crafton

    Anyone ever seen (or written themselves) a program that analyzes some source code (doesn't matter what language) and then produces some sort of 3D result? I'm not sure what the result would actually be but I would suspect that some interesting patterns would show up. I'm looking for something like this and was just curious if anyone else has thought of this.

    ¡El diablo está en mis pantalones! ¡Mire, mire! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! Personal 3D projects Just Say No to Web 2 Point Blow

    G Offline
    G Offline
    GParkings
    wrote on last edited by
    #12

    what would the 3 axis represent? Memory usage, cpu time, clock time? or i suppose you could start with a 2D UML diagram and then simply extrude out a shape on the 3rd axis by a single variable, such as a class diagram with height of class blocks determined by lines of code (which in turn could be 'displaced' by lines of code in each method).

    Pedis ex oris

    A 1 Reply Last reply
    0
    • J Jim Crafton

      Anyone ever seen (or written themselves) a program that analyzes some source code (doesn't matter what language) and then produces some sort of 3D result? I'm not sure what the result would actually be but I would suspect that some interesting patterns would show up. I'm looking for something like this and was just curious if anyone else has thought of this.

      ¡El diablo está en mis pantalones! ¡Mire, mire! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! Personal 3D projects Just Say No to Web 2 Point Blow

      P Offline
      P Offline
      puromtec1
      wrote on last edited by
      #13

      If this is for artistic design, which might be cool (maybe only to us programmers), I think its worth doing. For general pattern discovery or novelty detection of sorts, the 3D representation may be independent of your main goal of actually discovering knowledge about your source code. The knowledge discovered could be presented in 3D, but what type of knowledge do you seek?

      1 Reply Last reply
      0
      • J Jim Crafton

        Anyone ever seen (or written themselves) a program that analyzes some source code (doesn't matter what language) and then produces some sort of 3D result? I'm not sure what the result would actually be but I would suspect that some interesting patterns would show up. I'm looking for something like this and was just curious if anyone else has thought of this.

        ¡El diablo está en mis pantalones! ¡Mire, mire! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! Personal 3D projects Just Say No to Web 2 Point Blow

        B Offline
        B Offline
        Bassam Abdul Baki
        wrote on last edited by
        #14

        A Google search on "3D code metrics" brings up A Solar System Metaphor for 3D Visualisation of Object Oriented Software Metrics[^] as the first hit.

        Web - BM - RSS - Math - LinkedIn

        P 1 Reply Last reply
        0
        • B Bassam Abdul Baki

          A Google search on "3D code metrics" brings up A Solar System Metaphor for 3D Visualisation of Object Oriented Software Metrics[^] as the first hit.

          Web - BM - RSS - Math - LinkedIn

          P Offline
          P Offline
          Pete OHanlon
          wrote on last edited by
          #15

          Catchy title.

          Forgive your enemies - it messes with their heads

          My blog | My articles | MoXAML PowerToys | Mole 2010 - debugging made easier - my favourite utility

          B 1 Reply Last reply
          0
          • P Pete OHanlon

            Catchy title.

            Forgive your enemies - it messes with their heads

            My blog | My articles | MoXAML PowerToys | Mole 2010 - debugging made easier - my favourite utility

            B Offline
            B Offline
            Bassam Abdul Baki
            wrote on last edited by
            #16

            Yes, all that's missing is blondes in there, and they'd have a trifecta.

            Web - BM - RSS - Math - LinkedIn

            P 1 Reply Last reply
            0
            • B Bassam Abdul Baki

              Yes, all that's missing is blondes in there, and they'd have a trifecta.

              Web - BM - RSS - Math - LinkedIn

              P Offline
              P Offline
              Pete OHanlon
              wrote on last edited by
              #17

              I've just finished reading it. It's actually very interesting. I'd like to see the prototype that they've developed.

              Forgive your enemies - it messes with their heads

              My blog | My articles | MoXAML PowerToys | Mole 2010 - debugging made easier - my favourite utility

              B 1 Reply Last reply
              0
              • P Pete OHanlon

                I've just finished reading it. It's actually very interesting. I'd like to see the prototype that they've developed.

                Forgive your enemies - it messes with their heads

                My blog | My articles | MoXAML PowerToys | Mole 2010 - debugging made easier - my favourite utility

                B Offline
                B Offline
                Bassam Abdul Baki
                wrote on last edited by
                #18

                I skimmed it. It was interesting, but I have no need for one at the moment. Thanks for the heads up on the Supernova.

                Web - BM - RSS - Math - LinkedIn

                P 1 Reply Last reply
                0
                • P Pete OHanlon

                  Speak for your own code mate. Some of us produce diamonds. ;P

                  Forgive your enemies - it messes with their heads

                  My blog | My articles | MoXAML PowerToys | Mole 2010 - debugging made easier - my favourite utility

                  S Offline
                  S Offline
                  Single Step Debugger
                  wrote on last edited by
                  #19

                  You would have been perfect if you weren’t so humble. :-D

                  There is only one Ashley Judd and Salma Hayek is her prophet! Advertise here – minimum three posts per day are guaranteed.

                  1 Reply Last reply
                  0
                  • B Bassam Abdul Baki

                    I skimmed it. It was interesting, but I have no need for one at the moment. Thanks for the heads up on the Supernova.

                    Web - BM - RSS - Math - LinkedIn

                    P Offline
                    P Offline
                    Pete OHanlon
                    wrote on last edited by
                    #20

                    No problem. If the cloud shifts here, I'll be out looking for it.

                    Forgive your enemies - it messes with their heads

                    My blog | My articles | MoXAML PowerToys | Mole 2010 - debugging made easier - my favourite utility

                    1 Reply Last reply
                    0
                    • J Jim Crafton

                      Anyone ever seen (or written themselves) a program that analyzes some source code (doesn't matter what language) and then produces some sort of 3D result? I'm not sure what the result would actually be but I would suspect that some interesting patterns would show up. I'm looking for something like this and was just curious if anyone else has thought of this.

                      ¡El diablo está en mis pantalones! ¡Mire, mire! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! Personal 3D projects Just Say No to Web 2 Point Blow

                      D Offline
                      D Offline
                      Dr Walt Fair PE
                      wrote on last edited by
                      #21

                      I sometimes print out my code, especially when it was for homework, and then put the pages in a pile and staple them together to maintain the sort order. That also makes it 3D and I can then do an analysis without looking at the screen.

                      CQ de W5ALT

                      Walt Fair, Jr., P. E. Comport Computing Specializing in Technical Engineering Software

                      1 Reply Last reply
                      0
                      • P Pete OHanlon

                        Speak for your own code mate. Some of us produce diamonds. ;P

                        Forgive your enemies - it messes with their heads

                        My blog | My articles | MoXAML PowerToys | Mole 2010 - debugging made easier - my favourite utility

                        S Offline
                        S Offline
                        Storm blade
                        wrote on last edited by
                        #22

                        You really should see a doctor if you're THAT constipated...

                        S 1 Reply Last reply
                        0
                        • S Storm blade

                          You really should see a doctor if you're THAT constipated...

                          S Offline
                          S Offline
                          Steve Mayfield
                          wrote on last edited by
                          #23

                          it takes a boatload of pressure to turn carbon based nuggets into diamonds :rolleyes:

                          Steve _________________ I C(++) therefore I am

                          J 1 Reply Last reply
                          0
                          • J Jim Crafton

                            No, not him, he's a complete nut job, always going on and on about this 3D crap. No, there's got to be something else... :rolleyes:

                            ¡El diablo está en mis pantalones! ¡Mire, mire! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! Personal 3D projects Just Say No to Web 2 Point Blow

                            L Offline
                            L Offline
                            Lost User
                            wrote on last edited by
                            #24

                            I wish I had some of that modelling skill, even at the price of being considered crazy. The way it is, I can write good 3D code and nobody really gives a damn because my models look too tacky :)

                            "Dark the dark side is. Very dark..." - Yoda ---
                            "Shut up, Yoda, and just make yourself another toast." - Obi Wan Kenobi

                            J 1 Reply Last reply
                            0
                            • J Jim Crafton

                              Anyone ever seen (or written themselves) a program that analyzes some source code (doesn't matter what language) and then produces some sort of 3D result? I'm not sure what the result would actually be but I would suspect that some interesting patterns would show up. I'm looking for something like this and was just curious if anyone else has thought of this.

                              ¡El diablo está en mis pantalones! ¡Mire, mire! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! Personal 3D projects Just Say No to Web 2 Point Blow

                              A Offline
                              A Offline
                              Andy Brummer
                              wrote on last edited by
                              #25

                              Are there really any good 3D visualizations out there for much of anything? I'm not sure we are all that good at processing 3D data. I can't really think of anything that isn't more than 2D with perspective. If there is, then I'm sure you can find something on Visual Complexity[^], or http://www.visualizing.org/[^]

                              Curvature of the Mind now with 3D

                              J J 2 Replies Last reply
                              0
                              • A Andy Brummer

                                Are there really any good 3D visualizations out there for much of anything? I'm not sure we are all that good at processing 3D data. I can't really think of anything that isn't more than 2D with perspective. If there is, then I'm sure you can find something on Visual Complexity[^], or http://www.visualizing.org/[^]

                                Curvature of the Mind now with 3D

                                J Offline
                                J Offline
                                Jim Crafton
                                wrote on last edited by
                                #26

                                Probably not. I was necessarily thinking practically. See my latest post [^]- is that something you might be interested in?

                                ¡El diablo está en mis pantalones! ¡Mire, mire! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! Personal 3D projects Just Say No to Web 2 Point Blow

                                1 Reply Last reply
                                0
                                • L Lost User

                                  I wish I had some of that modelling skill, even at the price of being considered crazy. The way it is, I can write good 3D code and nobody really gives a damn because my models look too tacky :)

                                  "Dark the dark side is. Very dark..." - Yoda ---
                                  "Shut up, Yoda, and just make yourself another toast." - Obi Wan Kenobi

                                  J Offline
                                  J Offline
                                  Jim Crafton
                                  wrote on last edited by
                                  #27

                                  Well you can always write code that created stuff procedurally? That's what Houdini is good for. Check out this post[^] That's something that would be done procedurally, with 3D code. Would that interest you?

                                  ¡El diablo está en mis pantalones! ¡Mire, mire! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! Personal 3D projects Just Say No to Web 2 Point Blow

                                  1 Reply Last reply
                                  0
                                  • S Steve Mayfield

                                    it takes a boatload of pressure to turn carbon based nuggets into diamonds :rolleyes:

                                    Steve _________________ I C(++) therefore I am

                                    J Offline
                                    J Offline
                                    Jim Crafton
                                    wrote on last edited by
                                    #28

                                    Hence the suggestion to see a doctor! The poor guy could end up exploding his frontal lobes from the sheer strain of trying to pass a 24ct nugget!

                                    ¡El diablo está en mis pantalones! ¡Mire, mire! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! Personal 3D projects Just Say No to Web 2 Point Blow

                                    1 Reply Last reply
                                    0
                                    • J Jim Crafton

                                      Anyone ever seen (or written themselves) a program that analyzes some source code (doesn't matter what language) and then produces some sort of 3D result? I'm not sure what the result would actually be but I would suspect that some interesting patterns would show up. I'm looking for something like this and was just curious if anyone else has thought of this.

                                      ¡El diablo está en mis pantalones! ¡Mire, mire! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! Personal 3D projects Just Say No to Web 2 Point Blow

                                      K Offline
                                      K Offline
                                      kware
                                      wrote on last edited by
                                      #29

                                      I definitely think it would be worth doing! I've had the idea myself and even plan on doing it myself. but since I don't know when that will be, I think it would be great if someone else were to do it.

                                      1 Reply Last reply
                                      0
                                      • A Andy Brummer

                                        Are there really any good 3D visualizations out there for much of anything? I'm not sure we are all that good at processing 3D data. I can't really think of anything that isn't more than 2D with perspective. If there is, then I'm sure you can find something on Visual Complexity[^], or http://www.visualizing.org/[^]

                                        Curvature of the Mind now with 3D

                                        J Offline
                                        J Offline
                                        Jonathan C Dickinson
                                        wrote on last edited by
                                        #30

                                        Clearly you haven't seen AudioGL[^]. It's unrelated, but it does demonstrate that 3D can be better, if done in a clever way.

                                        He who asks a question is a fool for five minutes. He who does not ask a question remains a fool forever. [Chineese Proverb] Jonathan C Dickinson (C# Software Engineer)

                                        1 Reply Last reply
                                        0
                                        • J Jim Crafton

                                          Anyone ever seen (or written themselves) a program that analyzes some source code (doesn't matter what language) and then produces some sort of 3D result? I'm not sure what the result would actually be but I would suspect that some interesting patterns would show up. I'm looking for something like this and was just curious if anyone else has thought of this.

                                          ¡El diablo está en mis pantalones! ¡Mire, mire! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! Personal 3D projects Just Say No to Web 2 Point Blow

                                          A Offline
                                          A Offline
                                          all_in_flames
                                          wrote on last edited by
                                          #31

                                          This may not be technically exactly like what you described, but it is in the same vein: 'Tilt' Firefox plugin[^] I tried it out, it's pretty neat. Helps to visualize the layers of markup containers and elements in the DOM of a particular webpage. Cheers!

                                          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