JSketchpadToJSXGraph: Update history
24.08.2018
Big update (fixes done during summer 2018)
VectorTranslation latex problem fixed
Added option to fix vertical label positioning for all vector translations
Clear All Traces button added and it can be manually disabled by user from options
Solved problem with FixedText strings
Rotation/MeasuredAngle bug: if this element only was visible with some positioning in the picture (so that measuded angle exists) and was traced, the trace didn't show. This is now fixed.
Added a download link for portable converter which can be used when offline.
08.05.2018
Updates done during 12.4.2018 - 8.5.2018
Possibility to add grid layers (for higher contrast)
$JSP macros update. Not working perfectly yet
SUB and SUP commands for subscript and superscript. These were created, beacuse JSXGraph overrides subscript and superscript from LaTeX-typing.
Fixed several problems in creating JSX and JSP comments from converted code
Added option to write JSX board name and element id as a comment in original JSP code
Few bug fixes and several improvements done in programcode to make convertor faster and more reliable
12.04.2018
Several fixes and improvements done during 30.3. - 12.4.2018
Fixed a problem in Point on object positioning (JSX glider)
Fixed a problem in Translation/FixedAngle/MarkedDistance
{,dot} commands and options added
Reading background color from JSP code added
Improved FullPageConverter
Added more informative error messages for finding errors in code easier
Cleaning and improving the converter code
And more...
29.03.2018
Full page converter updated. Works pretty well now!
New ,-command {,text()} for replacing text part of FixedText, buttons and measurements from JSP command line.
Fixed bug with Dilation/3PtRatio: Char 'p' can now be written as lowercase or uppercase letters.
27.03.2018
New ,-command {,label()} for labeling points from JSP command line
Hugely improved commenting on converted codes.
Help section improved
Fixed operation Distance
Fixed a bug in $JSP converting that occurred if there was a comment line at the beginning of the code
16.03.2018
Update in user interface
VectorTranslation works now also for circles
Improver efficiency of $JSP converting
Command without variable name works now in code that is in $JSP form
JSXGraph code editor with some speedtools (LaTeX related) added
Better output for converted JSP code (from $JSP to JSP)
Fixed some bugs in code
16.01.2018
Operator VectorTranslation improved
Removed html table-tag from generated jsxg code, since html tables and jsxgraph images together might cause problems in some browsers
Added possibility to choose jsxg renderer in options
Some page layout and styling updates
15.11.2017
Added error reporting
Fixed calculate
Fixed animatebutton
10.11.2017
AnimateButton: problem with labels fixed
Calculate: fixed a small problem and added a optional developer attribute
Angle: this now creates similar undirected angle values with JSP
17.03.2017
Animatebutton works with circles now
Some improvements in generating point coordinates (got rid of long float decimals)
Simplified js-code
19.02.2017
Fixes in operation 'Calculate'
Fixes in operation 'translation/fixedangle/markeddistance'
Added extra option to quickly change all point labels in LaTeX form (for the Moodle environment)
Full HTML-page converter constructed (works, but still under heavy construction)
Small fixes in converter codetext
05.01.2017
Code breaked into separate .js-files.
Some improvements made to the code (removed unnecessary variables)
02.01.2017
Fixed 'Dilation/3PtRatio'
Example codes put in different .js-file
31.12.2016
Calculation fixed to handle four values given as measurements.
Added option to change accuracy of the measurements.
VectorTranslation expanded to work with lines also.
The way to input extra attributes psize, labelAlign, showInfoBox changed to be more clear (see help).
Added extra options arrowL, arrowR, and snapToGrid (see help).
Fixed 'Point on object' to work right when point is placed on a circle.
Fixed issue with UnitPoint.
Fixed a small problem with AxisX and AxisY.
Added option to show grid.
12.12.2016
Added operations:
Angle
Slope
Length
Ratio/Segments
Circumference
Radius
Area
Locus fixed
Issues with 'Calculate' operation solved:
problem with vector-based measurement fixed
problem with input strings [prefixStr and exprStr] fixed
Added extra propeties for 'Point on object' operation (see help)
Operations 'AxisX' and 'AxisY' fixed
Improvements with user interface:
added loadable examplecodes
added option to load code from a file [see help for guidance]
improved Clear -button, now it really clears all code [no page refresh needed]
08.12.2016
Fixed problem in calculate operator input restriction.
Fixed comstructor 'Rotation'.
Some improvements done to operators 'AxisX' and 'AxisY'.
Operation 'Coordinates' works somehow.
07.12.2016
Scale function added to the user interface.
Locus operation is working now.
06.12.2016
Function 'trnc' fixed in operation 'calculate'
05.12.2016
Constructor 'Translation/FixedAngle/MarkedDistance' added.
Constructor 'Dilation' added.
Constructor 'Dilation/SegmentRatio' added.
Added option to give each image different variable names (element id's).
This will prevent objects in images to disappear when two ore more
JSXGraph images are put in same webpage.
Updates to the user interface
Unnecessary code was cleaned and the programcode was trimmed.
Comments added to the code to clarify.
02.12.2016
'element id' added for separating variables, when two or more JSXGraph
images is placed on same page. Similar variablenames in each image
on same page causes objects disappearing and inactivity.
Attribute 'hidden' fixed to work with Buttons. If attribute is set
hidden, button will be constructed to the coordinate (2 * tablewidth, 2 * tableheight).
Button is thus not actually invisible, but outside the borders of the image.
In case if button is wanted to appear when 'ShowButton' is clicked,
coordinates of the button will be changed to the originally defined.
'HideButton' does the opposite if defined to hide some other button.
01.12.2016
Button 'SimultaneousButton' ready.
MoveButton fixed.
Locus under construction...
30.11.2016
'Rotation' constructor ready.
Option to choose point size added
(+ option to change single point size added [see help]).
Option to choose if infobox is shown
(+ option to change single object infobox [see help]).
29.11.2016
'Calculate' constructor fixed.
28.11.2016
Constructor 'AnimateButton' added but have some problems with it:
works only when animating point on segment
runs animation only onceand can't be affected while running
Animation lines added to the developer parameters output.
Added RGBtoHex function to create hex-color from
JavaSketchpad RGB color input.
26.11.2016
Fixed constructor 'Ratio/Points'.
Fixed costructor 'Translation' from constructed jsxgraph code.
25.11.2016
Added operations 'ShowButton' and 'HideButton'.
Fixed problems with 'FixedText' if there was character " ' " in it.
Updates to the user interface: board name, script source
Copying code to the clipboard now works.
Operation 'Calculate' finally working!
Constructor 'Segment' fixed.
Constructor 'Dilation/MarkedRatio' built,
it works someway, but is still under construction.
24.11.2016
Updates to the user interface: menu button updates,
options update.
Updates to JXG image options.
Some issues with coordinate system solved.
Fixed a problem with constructor Circle by radius.
Added following constructions:
Reflection
22.11.2016
First upload.
Working JavaSketchpad commands to this date are:
Point,
FixedPoint,
Midpoint,
Line,
Perpendicular,
Segment,
Parallel,
Ray,
Intersect,
Intersect1,
Intersect2,
Text,
Circle,
Polygon,
Dilation/3PtRatio,
Translation, Distance.
Commands that work in someway, but have some issues on them (under construction)
UnitPoint,
AxisX,
AxisY
VectorTranslation (works with points)
MoveButton
Ratio/Points
Circle by radius