encyclopegia.org

Kig (software)

KIG is free and open-source interactive geometry software, which is part of the KDE Education Project. It has some facilities for scripting in Python, as well as the creating macros from existing constructions.

KIG is free and open-source interactive geometry software, which is part of the KDE Education Project. It has some facilities for scripting in Python, as well as the creating macros from existing constructions. def square(arg1): return DoubleObject(arg1.value() ** 2) The variables are always called arg1 , arg2 etc. in the order they are clicked upon. Here there is only one variable arg1 and its numerical value is obtained with arg1.value() . If no one wants to implement the square of a complex number (represented by a point in the Argand diagram), the object which has to be selected at the creation of the script must necessarily be a point, and the script is def csquare(arg1): x = arg1.coordinate().x y = arg1.coordinate().y z = x * x - y * y y = 2 * x * y x = z return Point(Coordinate(x, y)) The abscissa of the point representing the square of the complex number is x^2-y^2 as can be seen by expanding (x+iy)^2=x^2-y^2+i(2xy) , Coordinate(x,y) creates a Python list made of the two coordinates of the new point. And Point creates the point which coordinates are precisely given by this list. But a Python object inside a figure can only create one object and for more complex figures one has to build the figure with a script: from random import * kigdocument.hideobjects() A = Point(0, 2) A.show() B = Point(-2, -1) B.show() C = Point(2, -1) C.show() M = Point(.1, .1) for i in range(1, 1000): d = randrange(3) if d == 0: s = Segment(A, M) M = s.midpoint() if d == 1: s = Segment(B, M) M = s.midpoint() if d == 2: s = Segment(C, M) M = s.midpoint() M.show()

References

No reference rows published for this article.

Cite this article

MLA

"Kig (software)." encyclopegia.org, 2026, https://encyclopegia.org/wiki/kig-software. Accessed 25 November 2026.

Chicago

"Kig (software)." encyclopegia.org. Accessed November 25, 2026. https://encyclopegia.org/wiki/kig-software.

APA

encyclopegia.org. (2026). Kig (software). Retrieved November 25, 2026, from https://encyclopegia.org/wiki/kig-software

Accessed November 25, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

Ubuntu Software Center

stub · references available

customs software

stub · references available

access software

stub · references available

Free Software Song

stub · references available

software framework

stub · references available

route planning software

stub · references available

data loss prevention software

stub · references available

free and open-source software

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1378130950 · 0.5 · snapshot enwiki-001378130950

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.