DrGeo: Difference between revisions

From OLPC
Jump to navigation Jump to search
Line 109: Line 109:
[[Category:Software ideas]]
[[Category:Software ideas]]
[[Category:Etoys]]
[[Category:Etoys]]

[[Category:GSoC proposals]]

Revision as of 23:16, 28 March 2008

Activity-drgeo.svg
DrGeo received an award and the INDIRE quality label [1]
.xo BundleDrGeo.xo
Trac print.png Tickets all - active
OlpcProject.png Hilaire Fernandes, et al. and José Rodríguez

see more templates or propose new

Dr. Geo II is a complete rewrite of Dr. Geo 1.1 GTK for the Squeak/Smalltalk environment. Dr. Geo is a project of the OFSET, Organisation for Free Software in Education and Teaching.

Currently, loading Dr. Geo II is slow because it is shipped in source code form and compiled at load time by the OLPC Squeak/Smalltalk. It is a limitation of the Squeak/Etoys environment provided with the XO machine, not from DrGeo II. In future we hope to provide pre-compiled version for shorter load time. The DrGeo II bundles for normal workstation does not suffer from this problem.

What is Dr. Geo? What is interactive geometry?

Pythagorean theorem, Chinese did it as well with the Gougu Puzzle.
Funny recursive & interactive figure are programmed thanks to the DrGeo Euclidean API.
And yes, various media can be mixed... Canvas in book, and images in canvas, etc.
A little gallery of examples, it looks confusing, right? Geometric canvases are overlapped transparently.
Dr. Geo II running inside of EToys on the XO.

Dr. Geo 1.1

(From the Dr. Geo 1.1 website) Dr. Geo 1.1 is a GTK interactive geometry software. It allows one to create geometric figure plus the interactive manipulation of such figure in respect with their geometric constraints. It is usable in teaching situation with students from primary or secondary level.

Dr. Geo integrates advanced features as an integrated Scheme programming language to define scripts within a figure. The language is also used to define functionally interactive figure.

Dr. Geo is a software part of the GNU project. This means it is a free software (as free speech) and you have access to the source code under the GPL license. You can modify and distribute it as long as the same distribution license (GPL) is used. To learn more about this license and the Free Software Foundation, visit the GNU project web site or read the file COPYING in the distribution.

At the Dr. Geo gallery you will find several examples with Dr. Geo. Do not hesitate to reference your examples there.

Dr. Geo II

DrGeoII is an interactive geometry framework, Morphic-based and Smalltalk programmed, which can be embedded and mixed with any existing Morph user interface element of the Squeak OLPC environment. It is a rewrite from scratch of Dr. Geo 1.1. However Dr. Geo II is capable to read and write to the Dr. Geo 1.1 XML file format. The examples included in the XO bundle are xml file.

As the confusion between interactive geometry and vector drawing is very common, Hilaire has produced a few video recording exposing the installation and the use of the framework. Moreover the videos show how the Morph UI gives freedom to mix in a constructive manner various unrelated Morph components (user interface construction, user interface scripting between different unrelated components).

Let's revitalize the Squeak/Smalltalk/Morph jewels for the development of educative application... -- Hilaire Fernandes

Need some help?

To install DrGeoII, you just need to install from Browse the XO file from [2]. The bundle comes with a few examples ready to load (one-click-load)

How to install if it fails from Browse?

In the transition to the latest XO software release, some people have had trouble downloading and installing the Dr. Geo II bundle. If installation through Browse activity fails, try the following steps:

From the Terminal activity, remove any previous Dr. Geo II bundle:

rm -rf /home/olpc/Activities/DrGeoII.activity

Restart Sugar by pressing simultaneously Ctrl+Alt+Erase so Sugar takes notice of the removal. Then from the terminal activity do:

wget http://download.gna.org/istoa/drgeo/DrGeoII.xo
sugar-install-bundle DrGeoII.xo

It will install the bundle in /home/olpc/Activities, if /home/olpc/Activities does not exist and Sugar complains about that, you can create it first:

mkdir /home/olpc/Activities

I don't have an XO, can I use Dr. Geo II?

Yes, and you are encouraged to do so.

For now I am proposing a Linux, Windows and MacOSX ready to use version at http://download.gna.org/istoa/drgeo.

How to contact the authors?

We are hooked to the mailing lists below. Any mail to one of this mailing list about DrGeoII will reach us:

Localisation

DrGeoII is internationalized (it requires joyride>=1620 for localisation to work). To provide more translation, download the DrGeoII.pot file at the DrGeoII forge, copy it as xx.po (with xx your locale), translate and send it to hilaire [AT] ofset.org.

What is not finished Dr. Geo II?

The DrGeo activity port need to be finished and improved in different areas.

Parts to be written

  • implementation of the macro-construction system. It is a system to record a set of constructions as a function the user can save and use repeatably. See the original implementation.
  • implementation of the script system. A script within DrGeo is code hooked to an interactive sketch, it is used to perform calculus. See the original implementation in Scheme. The script language will be Smalltalk based.

Parts to improve

  • improve the load time, the load time is now unacceptable for the user and make DrGeo unadapted for the OLPC.
  • define a journal type entry to save/load.
  • improve the user interface, particularly the access to the construction tools.
  • improve the locus sampling, it is by now suboptimal.

Other suggestions for improvements, see the DrGeo tracker.

Sponsorship

Dr. Geo II was partly sponsored by TOP, the Taiwan Open Source Project, with funding from the Ministry of Economy, Taiwan. TOP is a jointly managed project by Gjun Information Co.,Ltd., STEPS, and Software Liberty Association, Taiwan (SLAT).

If you are interested to provide support for additional and custom development, contact hilaire [AT] ofset.org.

How to use DrGeoII in Etoys

Here are videos showing how to use Dr. Geo II.

See also