Jump to content




[Grapher] CC Graphing Utility


  • You cannot reply to this topic
19 replies to this topic

#1 Symmetryc

  • Members
  • 434 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 Zoom

Video:
https://www.youtube....h?v=qc_DaSZfHYk

Download:
http://pastebin.com/F1McprVL

Enjoy!

Edited by Symmetryc, 05 December 2013 - 04:23 PM.


#2 apemanzilla

  • Members
  • 1,421 posts

Posted 04 December 2013 - 08:02 PM

Video link appears to be broken.

#3 Symmetryc

  • Members
  • 434 posts

Posted 04 December 2013 - 08:05 PM

View PostApemanzilla, on 04 December 2013 - 08:02 PM, said:

Video link appears to be broken.
Hmmm that's weird, can you try it again please? What does it say in specific?

#4 Xenthera

  • Members
  • 170 posts

Posted 04 December 2013 - 08:07 PM

This is awesome!

#5 Symmetryc

  • Members
  • 434 posts

Posted 04 December 2013 - 08:11 PM

View PostXenthera, on 04 December 2013 - 08:07 PM, said:

This is awesome!
Wow, thanks :)!

#6 oeed

    Oversimplifier

  • Members
  • 2,095 posts
  • LocationAuckland, 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!

#7 theoriginalbit

    Semi-Professional ComputerCrafter

  • Moderators
  • 7,332 posts
  • LocationAustralia

Posted 05 December 2013 - 01:44 AM

good job, a few plots missing in the video, but looks very nice :)

#8 Symmetryc

  • Members
  • 434 posts

Posted 05 December 2013 - 08:51 AM

Thanks guys :). What do you mean by some plots being gone?

#9 Engineer

  • Members
  • 1,378 posts
  • LocationThe 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

#10 Lyqyd

    Lua Liquidator

  • Moderators
  • 8,465 posts

Posted 05 December 2013 - 10:48 AM

Moved to APIs and Utilities.

#11 Symmetryc

  • Members
  • 434 posts

Posted 05 December 2013 - 12:42 PM

View PostEngineer, on 05 December 2013 - 10:26 AM, said:

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!

#12 Symmetryc

  • Members
  • 434 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?

#13 TheOddByte

    Lazy Coder

  • Members
  • 1,607 posts
  • LocationSweden

Posted 07 December 2013 - 08:18 AM

Wow, This is really cool/awesome! +1 for this amazing work! :D

#14 Wobbo

  • Members
  • 24 posts
  • LocationThe Netherlands

Posted 07 December 2013 - 08:28 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.

#15 Symmetryc

  • Members
  • 434 posts

Posted 07 December 2013 - 10:18 AM

View PostWobbo, on 07 December 2013 - 08:28 AM, said:

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 :).

#16 Wobbo

  • Members
  • 24 posts
  • LocationThe 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.

#17 theoriginalbit

    Semi-Professional ComputerCrafter

  • Moderators
  • 7,332 posts
  • LocationAustralia

Posted 09 December 2013 - 07:16 PM

View PostWobbo, on 09 December 2013 - 02:27 PM, said:

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 by theoriginalbit, 09 December 2013 - 07:17 PM.


#18 Symmetryc

  • Members
  • 434 posts

Posted 09 December 2013 - 07:29 PM

View Posttheoriginalbit, on 09 December 2013 - 07:16 PM, said:

View PostWobbo, on 09 December 2013 - 02:27 PM, said:

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.

#19 theoriginalbit

    Semi-Professional ComputerCrafter

  • Moderators
  • 7,332 posts
  • LocationAustralia

Posted 09 December 2013 - 08:15 PM

View PostSymmetryc, on 09 December 2013 - 07:29 PM, said:

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.

#20 Symmetryc

  • Members
  • 434 posts

Posted 09 December 2013 - 09:02 PM

View Posttheoriginalbit, on 09 December 2013 - 08:15 PM, said:

View PostSymmetryc, on 09 December 2013 - 07:29 PM, said:

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.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users