PopCalc v0.21b beta version
© 1998 Olivier GONDOUIN
The first function plotter and expression evaluator on BeOS (november 96)
2d,3d, cartesian, polar, spherical and colored functions, expression evaluator.
P.S.: It's a beta version, you could find a lot of bug in this software, I can't be responsable of any king of damage caused by the usage of this software. If you find a bug write me and I will try to correct it as soon as possible, a special section in this manual, tell about the know bugs
This product can't be sell without the authorisation of the author
This product use the 3dkit alpha library, you could find it at: ftp://ftp.beeurope.com/pub/beos_updates/developers/3dKitAlpha.zip or ftp://ftp.be.com/pub/beos_updates/developers/3dKitAlpha.zip
WARNING: functionnality in red color in the text dosen't work on PR version
The text in green color is an optionnal replacement
In this file you could find:
Move the folder as you want.
Open examples directory into the Browser and drag'n'drop the icons on the application icon or on a window, one by one. The examples/Time subfolder contains examples for the T parameter, move the T slider to see it
Use mode menu for change mode and your intuition for the rest.
You could change the T parameter in real time: move the T slider.
The first mouse button allow you to move the view , the secondary and third to zoom it.
In the 3dKitView, press the first Button on the objext to rotate it.
Name | type | short cut
| = | expression evaluation | [alt-0]
|
f(x) | cartesian function | [alt-1]
|
x(t),y(t) | parametric cartesian function | [alt-2]
|
r(t) | polar function | [alt-3]
|
r(t),a(t) | parametric polar function | [alt-4]
|
f(x,y) | 3d function | [alt-5]
|
x(t),y(t),z(t) | 3d parametric function | [alt-6]
|
x(t,u),y(t,u),z(t,u) | 3d parametric function | [alt-7]
|
r(t),a(t),b(t) | 3d spherical function | [alt-8]
|
r(t,u),a(t,u),b(t,u) | 3d spherical function | [alt-9]
|
Color(x,y) (8bits) | 2d color function | [alt-.]
|
Functions:
abs(x) floor(x) ceil(x)
exp(x) ln(x)
log(x) => log10(x)
loga(x) ex: log5.55(x)
sqrt(x) rootn(x) ex: root3.5(x)
sin(x) cos(x) tan(x)
acos(x) asin(x) atan(x)
sinh(x) cosh(x) tanh(x)
asinh(x) acosh(x) atanh(x)
Operators:
x! (x must be a positive integer)
x^n
+ - / *
(/x) <=> 1/x
(-x) <=> -x
Vx use sqrt(x)
xEn x*10n ex:5E3 = 5 * 10^3 = 5000
no En, only xEn (no E2 but 1E2=100)
xEn° or x° (only numeric) use xEn*PI_180==> convert xEn from deg to rad (see "examples/Spirale degres.Math" example)
n in xEn,rootn(x) and a in lna(x) must be numerical numbers.
for all functions:
cos x => cos(x)
cos 5 or cos5 => cos(5)
but for log:
log 5 => log10(5)
log5 => error
log5 x => log5(x)
PI
PI_2 (pi/2)
PI_4 (pi/4)
PI_180 (pi/180, used for deg to rad translation)
e (exp(1), Euler number)
Au (gold number)
In this window, the four columns shows the four components with:
- their name initial at the top
- their value (from 0 to 255) at the bottom, you could change them by clicking in the cases
- Between the two the color that will be affected if you move the cursor (little black bar for colors components ans red for alpha component). You could click directly at the desired color too.
A menu in the top allow you to change color mode, there are 4 modes:
- RGB (red/green/blue)
- CMY (cyan/magenta/yellow)
- HSV (hue/saturation/value)
- HSL (hue/saturation/luminance)
In both modes, there is an alpha channel value.
The big square at the bottom of the window show the actual color.
On PR2 (and later versions), you could drag the color from this square to the window of another software or the desktop (The tracker) to modify their colors.
If you drag'n'drop it on a text, you will paste that:
rgb_color color = {<red value>,<green value>,<blue value>,<alpha value>};
You could drag'n'drop on this window, colors that come from another application if it can drag'n'drop colors to desktop.
Developers: look at the Changes of v0.17a to see the protocols
Four informations are shown and oculd be changed:
- UDec: Unsigned decimal
- Dec: Signed decimal
- Hex: Hexadecimal
- Asc: ASCII
You could choose the convertion lenght between 8 bits (char) 16 bits (short) or 32 bits (long)
with the button at the bottom of this Area, and its pop-up menu
Put a value in one of theses cases and the conversion will be printed in both others.
In this window you could find several parts:
- The modes and a short description.
- The know constants.
- The know functions and operators.
- E-mail to contact the author and URL to download last version.
Click on previous and next buttons to move from a part to another one.
v0.21b new features:(20mar98,23h30)
- some bugs in f(x,y) mode with 3dkit removed
- r(t,u),a(t,u),b(t,u) mode now support 3dkit too
v0.20b new features:(4mar98,20h53 pm (Paris)= 11h53am (Sanfrancisco) :)) ) awards version2
- New menu edit, with cut/copy/past + preferences
- Preferences window with 3d kit option;
- enable/disable: 3dkit, zbuffer, smooth shading
- move camera position
v0.19b new features:(4mar98, 5h am (Paris)) awards version1
- new functions: acosh,asinh,atanh
- a lot of internal cleaning
- now Alt-p is used for the palette (color window) and alt-r for the conversion window, to avoid conflict with cut/past shortcuts
- save enable for the awards
- some new examples
- better multithreading
- use 3d kit alpha version for Gouraud shaded 3d functions
- you could d'nd colors directly on 3dkit models
- a little bit faster :)
v0.18a new features:(22dec97)
- alpha channel settings in color window.
- Color window is more independant and selectable from the new window menu. No you must d'n'd the color from the windowx to the button to change specific color.
- Help window with informations on the modes, constants, functions, operators, and contacts/download points.
- Conversion window with: unsigned decimal, signed decimal, hexadecimat, ascii conversion.
v0.17a new features:(27oct97)
- renamed PopCalc as promised in Beware for long time.
- New 'about' window with a (beautiful???) picture and hyperlinks to places where find the last version.
- no more dithering for color window in 32 bit screens.
- faster real time reaction for color window (multi-threaded).
- Color drag'n'drop to and from color window using PR2 protocol: FindData("RGBColor", 'RGBC', &rgb_color,&rgb_color_size);
- Color drag with protocol: FindData("color", B_RGB_COLOR_TYPE,&rgb_color,&rgb_color_size);
- Color d'n'd to text: rgb_color color = {<red value>,<green value>,<blue value>,<alpha value>};
- The T parameter now keep its value when you change a function.
- The polar and spherical functions names take latin characters temporary (better than bugs squares). r=rho (ray), a= theta (angle1), b = phi (angle 2).
- Dosen't cash more when deleting a function with del button, and some intern cleaning.
v0.16a new features:(21oct97)
- New color window with three components that show you the effect of your changes in RGB, CMY, HSV and HSL formats. Dithering for 8bit screen format.
v0.15a new features:(16oct97)
- ScrollBar for real time parameter now run.
- You could move the function with mouse again.
- The function window title show the name of the file.
v0.14a+ new features:(10oct97)
- drag'n'drop of files on the windows for open them.
- Open file menu re-enable.
- Quick reorganization of the html doc
v0.14a new features:(9oct97, first PR version)
- Quick and dirty port to PR some things don't work, other crash, but you can draw functiuons and use all modes.
v0.12a and 0.13a new features:(somwhere in springer and summer 97, PR-AA versions)
- I have lost these version, I don't remember their changes, have I to become supersticious???
v0.11a new features:(19mai97, perhaps the last DR8 version)
- Bug fixed: you can resize window with no axes, the function size follow
- More faster color mode
- More faster zoom
- Show scale on z axe in Spherical mode (bug on v0.010a)
- move and zoom the function view with mouse
- datas window resizable
v0.10a new features:(19mars97, after some examens)
- "Background App Only" flag of 0.09 removed
- RayTraced 4D-fractals icons
- µ(t),§(t),½(t) 3d spherical mode [alt-8]
- µ(t,u),§(t,u),½(t,u) 3d spherical mode [alt-9]
- Time parameter T (UPPERCASE) for all graphics modes, can be modified
in real time with slider + Checkbox for Automatic/Manual Mode (automatic
not active for T, and manual not active for others parameters).
- color(x,y) mode [alt-.] (original idea by Attila Mezei), trace fct in 256 colors.
The Values are in [0;255]. try: 16*(1+cos x* sin y).
In this mode, the parameters limits are the window limits like f(x) mode
you can save the picture with print screen key and use it in your programs
with a modified palette.
- the forgotten parenthesis crashing bug from V0.09a removed
- gold number constant name: old OR (gold in french), new: Au (chemical symbol of gold)
v0.09a new features:(1jan97)
- x(t),y(t),z(t) 3d mode
- x(t,u),y(t,u),z(t,u) 3d mode
- Show Axes CheckBox
- bug on power evaluation removed.
- graduation on all axes
- z axis direction corrected
v0.08a new features:(27dec96)
- fixe cut/copy/paste full line from editor bug (char ASCII 10)
- new constant:PI_180=PI/180 (x*PI_180 convert ¡->rad,
x/PI_180 convert rad->¡)
- numerical writen numbers can be:18E1¡ or 180¡ ->3.14...(convert to rad)
- bugs on some case of Del function fixed.
- parameters correctly modified when load functions configurations.
- save, save as.
- icon for files
- f(x,y) (2d1/2) [ALT-5] (axes y and z are inverted sorry)
v0.07a new features:(24dec96)
- Special Xmas Icon
- Multiples functions
- load, functions configurations
v0.06a new features:(17dec96)
- In v0.05a more than one Couleur (Color in french) window can be opened
when change mode function, it was a bug. It's removed and the window is
now named Color.
- Color window is hidden in expression evaluation mode.
v0.05a new features:(16dec96)
- Faster update of functions.
- One litte precision bug from v0.04 is removed
- One icon with pixels and colors;-).
- The graph window is correctly updated when resized
- Choice of colors for background and functions(the graph is draw in 8bit)
.
v0.04a new features:(9dec96)
- Ã(x) <=> sqrt(x)
- constants: PI, PI_2, PI_4, e, OR
- xEn: x*10^n
- arithmetic evaluation (= ALT-0)
- Polar functions (µ(t)=radius,(t=angle) ALT-3)
- Polar parametric functions (µ(t)=radius,§(t)=angle ALT-4)
v0.03a new features:(version five o'clock tea @ BeEurope, 6dec96)
- rootn (x) n basis root (usage: see log, root x->root3(x))
- 2 window: 1 for parameters +1 zoomable window for graph
- parametric functions
- pop-up menu: select f(x) ALT-1 / x(t),y(t) ALT-2
v0.02a/v0.01a new features:
- B_NAVIGABLE is set on for BTextControls navigation.
- when an error of range is made-> delete needless 0 on preview
value (ex:10.00000->10.)
- when an error of f(x) is made -> preview f(x), and not f(x)=x.
- sinh,cosh,tanh in this text (active on v0.01a.
- problems with the PR text encoding system
- use 3dkit alpha version then can crash for unknown reasons
- Only the first function is drawn in the 3dkit view
For bugs, suggestions, gifts...
Analogic mail:
GONDOUIN Olivier
46,av de Marche Marais
77350 Le Mée S/ Seine
FRANCE
E-mail:
olivier.gondouin@hol.fr
or
gondouin@cnam.fr
URL:
http://wwwperso.hol.fr/~gondouin
or http://subway.student.utwente.nl/~gondouin