Learn R Programming

cycloids (version 1.0.2)

Tools for Calculating Hypocycloids, Epicycloids, Hypotrochoids, and Epitrochoids

Description

Tools for calculating coordinate representations of hypocycloids, epicyloids, hypotrochoids, and epitrochoids (altogether called 'cycloids' here) with different scaling and positioning options. The cycloids can be visualised with any appropriate graphics function in R.

Copy Link

Version

Install

install.packages('cycloids')

Monthly Downloads

255

Version

1.0.2

License

GPL-3

Maintainer

Peter Biber

Last Published

August 29th, 2023

Functions in cycloids (1.0.2)

zykloid.scaleA

Wrapper for zykloid which allows to scale and position a cycloid by the radius A of the fixed circle and its midpoint
kgV

Calculates the least common multiple of two natural numbers a and b
ggT

Calculates the greatest common divisor of two natural numbers a and b based on the Euclidean Algorithm
npeaks

Calculates the number of a cycloid's peaks based on the radii A (fixed circle) and a (moving circle)
zykloid

Core function for calculating coordinate representations of hypocycloids, epicyloids, hypotrochoids, and epitrochoids (altogether called 'cycloids' here)
zykloid.scaleP

Wrapper for zykloid which scales a cycloid by the circle its peaks are located on and allows free positioning
zykloid.scaleAa

Wrapper for zykloid which scales a cycloid by its outer radius and allows free positioning
cycloids-package

Calculating coordinate representations of hypocycloids, epicyloids, hypotrochoids, and epitrochoids