Skip to content
This repository has been archived by the owner on Mar 16, 2023. It is now read-only.

Latest commit

 

History

History
44 lines (28 loc) · 2.11 KB

readme.md

File metadata and controls

44 lines (28 loc) · 2.11 KB

GIF of program

3D Ulam Spiral [En]

3D Ulam Spiral is a project, realized in Processing, which aims at representing in 3D the distribution of prime, deficit, perfect and abundant numbers.

Two geometric models, a pyramid and a cube, are composed of subcubes associated with a number n. The values of the subcubes are the images by the second degree polynomial associated to the models.

This programme was developed as part an academic project, in collaboration with collaboration with Pradana Aumars, at the University of Paris-Saclay.

Functionalities

To facilitate the visualisation of the models, it is possible to :

  • Control the speed and axis of rotation
  • Manually control the rotation
  • Change the coefficients of the second degree polynomials
  • Click on a sub-cube to highlight it in both models

Usage

To use this program, make sure you have correctly installed Processing v3.

Then, run the file main.pde.

3D Ulam Spiral [Fr]

3D Ulam Spiral est un projet, réalisé en Processing, qui vise à représenter en 3D la répartition des nombres premiers, déficits, parfaits et abondants.

Deux modèles géométriques, une pyramide et un cube, sont composés de sous-cubes associés à un nombre n. Les valeurs des sous-cubes sont les images par le polynôme du second degré associer aux modèles.

Ce programme a été réalisé au cours d'un projet académique, en collaboration avec Pradana Aumars, à l'université Paris-Saclay.

Fonctionnalités

Pour facilité la visualisation des modèles, il est possible de :

  • Contrôler la vitesse et l'axe de rotation
  • Contrôler manuellement la rotation
  • Modifier les coefficients des polynômes du second degré
  • Cliquer sur un sous-cube pour le faire apparaître en surbrillance dans les deux modèles

Usage

Pour utiliser ce programme, assurez-vous d'avoir correctement installé Processing v3.

Ensuite, exécutez le fichier main.pde.