Skip to content

xmadsen/recaman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Recamán sequence plot

A Python script to represent graphically the Recamán sequence in matplotlib.

Usage

python recaman_plot.pymax_size drawtype

where max_size determines the length of the Recamán sequence to calculate, and drawtype can be any of the following:

  • line - Renders a connected scatter plot.
  • circle - Renders a circle of diameter i for each index i of the sequence, centered exactly between
  • point - Renders a scatter plot with dots for each element.
  • arcs - In Progress

I plan to fix arcs to be semicircles between adjacent points like a wavy ribbon, rather than the hacky method it uses now.

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages