ZoomCalc - Online instant notepad calculator program

A place for Ogre users to discuss non-Ogre subjects with friends from the community.
Rambus
Greenskin
Posts: 100
Joined: Tue Aug 01, 2006 6:50 am
Location: Canada
x 6

ZoomCalc - Online instant notepad calculator program

Post by Rambus »

Hello Ogre(s),

I thought I would share a neat online calculator I wrote to help people working out numbers / doing quick math. It's a cross between notepad and a spread sheet. It's ideal for working out quick and dirty math, because as you type it computes the result. You can reference rows (R1) just like in a spread sheet, or you can store values in variables, e.g. X=123.

I wrote it for myself, for when I'm programming and I need to derive some expression. But I packed in the ability to save and share calculators to try to make it more useful for the entire community.

You can check out my program here: http://www.ZoomCalc.com

Here is a simple example for computing Win/Loss ratio:
http://zoomcalc.com/?p=82

Image

Here I calculate the number of attacks required by a Zergling to kill a Zealot in the game Starcraft 2. This should show you how you could compute more complex things.

Image

Heres the link:

http://zoomcalc.com/?p=88

This calculator is read only, simply click Create Copy to edit it.

Currently the calculator supports:
sin(X), cos(X), tan(X), asin(X), acos(X)
atan(X), atean2(X), sqrt(X), log(X)
abs(X), ceil(X), floor(X), round(X)
exp(X), random(X), fac(X)
min(X,Y), max(X,Y), pow(X,Y)
+, -, *, /, %, ^, ||

Your some of the first people I have shared this with, so please rip it apart and provide constructive feedback
User avatar
Jabberwocky
OGRE Moderator
OGRE Moderator
Posts: 2819
Joined: Mon Mar 05, 2007 11:17 pm
Location: Canada
x 218

Re: ZoomCalc - Online instant notepad calculator program

Post by Jabberwocky »

Cool. I've worked with game system designers that crunch a lot of numbers, who would really dig something like this.
Image
User avatar
Xavyiy
OGRE Expert User
OGRE Expert User
Posts: 847
Joined: Tue Apr 12, 2005 2:35 pm
Location: Albacete - Spain
x 87

Re: ZoomCalc - Online instant notepad calculator program

Post by Xavyiy »

+1!
I can see a lot of situations where this tool would have saved me a lot of time, especially when writing shaders. It's now on my bookmarks ;)
User avatar
Klaim
Old One
Posts: 2565
Joined: Sun Sep 11, 2005 1:04 am
Location: Paris, France
x 56

Re: ZoomCalc - Online instant notepad calculator program

Post by Klaim »

Me too! Thanks for the heads up!
Rambus
Greenskin
Posts: 100
Joined: Tue Aug 01, 2006 6:50 am
Location: Canada
x 6

Re: ZoomCalc - Online instant notepad calculator program

Post by Rambus »

Thanks for the kind words, if you find anything annoying or see something I could improve please let me know :)
User avatar
Miscreant
Greenskin
Posts: 126
Joined: Mon Jun 14, 2010 2:12 am
Location: Brisbane, Australia
x 3

Re: ZoomCalc - Online instant notepad calculator program

Post by Miscreant »

I usually just resort to using Python as a calculator when I need to crunch a lot of numbers since the majority of calculator programs out there are awkward to use and have less functionality that my real-life calculator that sits on my desk, but this looks really cool and is much easier to use as a calculator than Python.
Rambus
Greenskin
Posts: 100
Joined: Tue Aug 01, 2006 6:50 am
Location: Canada
x 6

Re: ZoomCalc - Online instant notepad calculator program

Post by Rambus »

I just changed the program to no longer be case sensitive.

@ Miscreant - Let me know if you find anything you find limiting in ZoomCalc compared to using the python calculator.
User avatar
saejox
Goblin
Posts: 260
Joined: Tue Oct 25, 2011 1:07 am
x 36

Re: ZoomCalc - Online instant notepad calculator program

Post by saejox »

i like it.

do you have plans to add vector and matrices.
like this,

A = [0, 2, 5]
B = [
[1,1,1],
[1,0,0],
[2,0,5]
]
B * A

i am writing python for these stuff as well.
an online sharable solution would be awesome.
Nimet - Advanced Ogre3D Mesh/dotScene Viewer
asPEEK - Remote Angelscript debugger with html interface
ogreHTML - HTML5 user interfaces in Ogre
bstone
OGRE Expert User
OGRE Expert User
Posts: 1920
Joined: Sun Feb 19, 2012 9:24 pm
Location: Russia
x 201

Re: ZoomCalc - Online instant notepad calculator program

Post by bstone »

Have you tried Google Spreadsheets? Online, shareable, powerful, and you can edit a spreadsheet simultaneously with another collaborating person and it has MMULT for matrix multiplication :)

Not saying that this calculator doesn't look good - just in case somebody haven't tried the spreadsheets. I've been using them on several occasions were I needed to share some calculations with a client in a easily consumable form and they were top-notch. Basically anybody who has seen an Excel/Lotus spreadsheet will be able to grasp whatever you share with them.
Rambus
Greenskin
Posts: 100
Joined: Tue Aug 01, 2006 6:50 am
Location: Canada
x 6

Re: ZoomCalc - Online instant notepad calculator program

Post by Rambus »

I don't think I will support matrix math in the near term- just because of my limited development hours.

@ bStone - I love google documents! I think they are amazing. I created ZoomCalc because a spreadsheet is not as useful for the kind of 'math figuring' I tend to have to do while programming. I basically wanted a notepad that would allow me to 'think out' math. ZoomCalc's advantages over a spreadsheet are that it instantly presents results as you type, allows for named variable assignment, has a simplified single column design and syntax highlighting. I also think it is a conceptually simpler tool.

But, as you said- if anyone is looking for more powerful column/row based calculations, Google spread sheets are the way to go :)
slonimsky
Gnoblar
Posts: 2
Joined: Fri Sep 18, 2020 1:03 pm

Re: ZoomCalc - Online instant notepad calculator program

Post by slonimsky »

heeey what happened to zoomcalc this month?
It was my favorite one for 7 years, or even more. Please keep it alive man:)))
I registered at this forum just to post this message, lol.
Last edited by slonimsky on Fri Sep 18, 2020 1:07 pm, edited 1 time in total.
User avatar
EricB
Bronze Sponsor
Bronze Sponsor
Posts: 360
Joined: Fri Apr 09, 2010 5:28 am
Location: Florida
x 213

Re: ZoomCalc - Online instant notepad calculator program

Post by EricB »

slonimsky wrote: Fri Sep 18, 2020 1:06 pm heeey what happened to zoomcalc this month?
It was my favorite one for 7 years, or even more. Please keep it alive man:)))
I registered at this forum just to post this message, lol.
This work for you? https://web.archive.org/web/20191211013 ... mcalc.com/
Image
slonimsky
Gnoblar
Posts: 2
Joined: Fri Sep 18, 2020 1:03 pm

Re: ZoomCalc - Online instant notepad calculator program

Post by slonimsky »

flawlessly. Thank you.