 
                
                500 posts
                
             
            
                Posted 04 December 2013 - 08:00 PM
                Grapher is a graphing utility in CC. It supports multiple functions, it has a nice UI, it has integrated help, and more! (Relevant info below). Please post any bugs you find with it below. (I know the buffer part is poorly coded, I just copied it from another program I made because I was fed up with debugging the graphing code :P/>)Features:- Supports up to 99 different functions on the same plane- Colorful and Nice-looking UI- In-Program Help- Lua Math Library support- Support for Grid Movement and ZoomVideo:
[media]
https://www.youtube.com/watch?v=qc_DaSZfHYk[/media]
Download:
http://pastebin.com/F1McprVLEnjoy!
 
                
                    Edited on 05 December 2013 - 03:23 PM
                
             
         
        
        
            
            
                
                     
                
                1610 posts
                
             
            
                Posted 04 December 2013 - 08:02 PM
                Video link appears to be broken.
                
             
         
        
        
            
            
                
                     
                
                500 posts
                
             
            
                Posted 04 December 2013 - 08:05 PM
                Video link appears to be broken.
Hmmm that's weird, can you try it again please? What does it say in specific?
 
         
        
        
            
            
                
                     
                
                167 posts
                
             
            
                Posted 04 December 2013 - 08:07 PM
                This is awesome!
                
             
         
        
        
            
            
                
                     
                
                500 posts
                
             
            
                Posted 04 December 2013 - 08:11 PM
                This is awesome!
Wow, thanks :)/>!
 
         
        
        
            
            
                
                     
                
                2151 posts
                
                    
                        Location
                        Auckland, New Zealand
                    
                
             
            
                Posted 04 December 2013 - 10:31 PM
                This is awesome, I briefly tried something like this a while back but couldn't get it to work. Well done!
                
             
         
        
        
            
            
                
                     
                
                7508 posts
                
                    
                        Location
                        Australia
                    
                
             
            
                Posted 05 December 2013 - 01:44 AM
                good job, a few plots missing in the video, but looks very nice :)/>
                
             
         
        
        
            
            
                
                     
                
                500 posts
                
             
            
                Posted 05 December 2013 - 08:51 AM
                Thanks guys :)/>. What do you mean by some plots being gone?
                
             
         
        
        
            
            
                
                     
                
                1522 posts
                
                    
                        Location
                        The Netherlands
                    
                
             
            
                Posted 05 December 2013 - 10:26 AM
                This really looks nice, but Im not quite sure how to use the shortcuts. Do I have to literally write ^H in a function or something? I dont get it.
Also, I wanted get into help because I couldnt get any of my graphs drawn :l
                
             
         
        
        
            
            
                
                     
                
                8543 posts
                
             
            
                Posted 05 December 2013 - 10:48 AM
                Moved to APIs and Utilities.
                
             
         
        
        
            
            
                
                     
                
                500 posts
                
             
            
                Posted 05 December 2013 - 12:42 PM
                This really looks nice, but Im not quite sure how to use the shortcuts. Do I have to literally write ^H in a function or something? I dont get it.
Also, I wanted get into help because I couldnt get any of my graphs drawn :l
The "^" means Ctrl. The help that shows up when you start up the program is the same help that will show up with ^+H though. You hit enter to draw a graph. Thanks!
 
         
        
        
            
            
                
                     
                
                500 posts
                
             
            
                Posted 06 December 2013 - 07:50 PM
                I've been trying to get implicit equations to work, but I'm not really sure. Anyone math savvy who would like to join forces?
                
             
         
        
        
            
            
                
                     
                
                1852 posts
                
                    
                        Location
                        Sweden
                    
                
             
            
                Posted 07 December 2013 - 08:18 AM
                Wow, This is really cool/awesome! +1 for this amazing work! :D/>
                
             
         
        
        
            
            
                
                     
                
                24 posts
                
                    
                        Location
                        The Netherlands
                    
                
             
            
                Posted 07 December 2013 - 08:28 AM
                If you mean this: 
http://en.wikipedia.org/wiki/Implicit_function kind of implicit function, that looks like a constraint satisfaction problem to me. In that case, I know of some algorithms to solve this. 
If that is what you meant, I would like to join forces. I know quite a bit about math as well.
 
         
        
        
            
            
                
                     
                
                500 posts
                
             
            
                Posted 07 December 2013 - 10:18 AM
                If you mean this: 
http://en.wikipedia....plicit_function kind of implicit function, that looks like a constraint satisfaction problem to me. In that case, I know of some algorithms to solve this.
If that is what you meant, I would like to join forces. I know quite a bit about math as well.
Yup, that's exactly what I'm talking about. Alright, I'll send you a PM :)/>.
 
         
        
        
            
            
                
                     
                
                24 posts
                
                    
                        Location
                        The Netherlands
                    
                
             
            
                Posted 09 December 2013 - 02:27 PM
                I took some time to play with it, and noticed that ^+s is a bad combination to move around the plane, my computer keeps shutting down. 
Also, it would be nice if there would be a grapher API that would display graphs on the screen. I could see a gnuplot like program that would use this as a plotting device.
                
             
         
        
        
            
            
                
                     
                
                7508 posts
                
                    
                        Location
                        Australia
                    
                
             
            
                Posted 09 December 2013 - 07:16 PM
                I took some time to play with it, and noticed that ^+s is a bad combination to move around the plane, my computer keeps shutting down.
Then don't hold it in, just press it! With the way programs like this detect you pressing ^+s you could actually just press ^ then S a few milliseconds later, CC won't detect it as a 3 second hold for shutdown, but the program will still detect it.
Edited on 09 December 2013 - 06:17 PM
                
             
         
        
        
            
            
                
                     
                
                500 posts
                
             
            
                Posted 09 December 2013 - 07:29 PM
                I took some time to play with it, and noticed that ^+s is a bad combination to move around the plane, my computer keeps shutting down.
Then don't hold it in, just press it! With the way programs like this detect you pressing ^+s you could actually just press ^ then S a few milliseconds later, CC won't detect it as a 3 second hold for shutdown, but the program will still detect it.
I think he meant it was a bad design choice, which will be corrected in the future.
 
         
        
        
            
            
                
                     
                
                7508 posts
                
                    
                        Location
                        Australia
                    
                
             
            
                Posted 09 December 2013 - 08:15 PM
                I think he meant it was a bad design choice, which will be corrected in the future.
I knew what he meant. I still don't think its a bad design choice.
 
         
        
        
            
            
                
                     
                
                500 posts
                
             
            
                Posted 09 December 2013 - 09:02 PM
                I think he meant it was a bad design choice, which will be corrected in the future.
I knew what he meant. I still don't think its a bad design choice.
It can be confusing for people who don't realize though, so I think I'm just going to replace it with Shift + WASD. That way people can also go into "move only mode" by hitting Caps Lock :P/>.