Artemis II

Import

import { artemis2 } from "@sarmal/core/curves/artemis2";

Modified lemniscate with two unequal lobes. The iconic curve of the collection, tracing a path inspired by the Artemis II lunar free-return trajectory.

Equation

x=cos(t)(1+0.35cos(t))1+sin2(t)0.175y=sin(t)cos(t)(1+0.15cos(t))1+sin2(t)\begin{aligned}x = \frac{\cos(t)\,(1 + 0.35\cos(t))}{1 + \sin^2(t)} - 0.175 &\\y = \frac{\sin(t)\cos(t)\,(1 + 0.15\cos(t))}{1 + \sin^2(t)} &\end{aligned}

Parameters

Family Free-return trajectory
Period
Default Speed 0.7
Skeleton static

Key Features

  • Two unequal lobes creating organic asymmetry
  • Based on NASA's Artemis II mission trajectory
  • Hero curve of the Sarmal collection

Usage

Standard

import { createSarmal } from "@sarmal/core";
import { artemis2 } from "@sarmal/core/curves/artemis2";

const canvas = document.getElementById("spinner") as HTMLCanvasElement;
const sarmal = createSarmal(canvas, artemis2);

React

import { Sarmal } from "@sarmal/react";
import { artemis2 } from "@sarmal/core/curves/artemis2";

function App() {
  return <Sarmal curve={artemis2} />;
}