Differences between revisions 32 and 33
 ⇤ ← Revision 32 as of 2013-11-25 10:30:11 → Size: 18327 Editor: pang Comment: fixing geodesics interact ... ← Revision 33 as of 2019-11-14 20:56:00 → ⇥ Size: 18324 Editor: chapoton Comment: no xrange Deletions are marked like this. Additions are marked like this. Line 311: Line 311: for j in xrange(partes-1)) for j in range(partes - 1)) Line 419: Line 419: print 'Number of lines with linking number k:'    print ', '.join('%d:%d'%(k,v) for k,v in d.iteritems()) print('Number of lines with linking number k:')    print(', '.join('%d:%d' % kv for kv in d.items()))

# Sage Interactions - Geometry

## Intersecting tetrahedral reflections FIXME

by Marshall Hampton. Inspired by a question from Hans Schepker of Glass Geometry.

## Evolutes

by Pablo Angulo. Computes the evolute of a plane curve given in parametric coordinates. The curve must be parametrized from the interval [0,2pi].

## Geodesics on a parametric surface

by Antonio Valdés and Pablo Angulo. This example was originally composed of two interacts:

• - the first allowing the user to introduce a parametric surface, and draw it. - the second drawing a geodesic within the surface.

The separation was so that after the first interact, the geodesic equations were "compiled", thus making the second interact faster.

This still looks as a good idea to me, so please read the original code at https://malabares.cancamusa.net/home/pub/14/ But the following is fixed so that there is only one interact, and sagecell works. There might be another way yto

## Dimensional Explorer

By Eviatar Bach

Renders 2D images (perspective or spring-layout) and 3D models of 0-10 dimensional hypercubes. It also displays number of edges and vertices.

## Crofton's formula

by Pablo Angulo. Illustrates Crofton's formula by throwing some random lines and computing the intersection number with a given curve. May use either solve for exact computation of the intersections, or may also approximate the curve by straight segments (this is the default).

## Banchoff-Pohl area

by Pablo Angulo. Computes the Banchoff-Pohl "area enclosed by a spatial curve", by throwing some random lines and computing the linking number with the given curve. Lines not linked to the given curve are displayed in red, linked lines are displayed in green.

interact/geometry (last edited 2019-11-15 08:20:36 by chapoton)