]>
git.r.bdr.sh - rbdr/lissajous/blob - lib/factories/curves.js
99bc588698965a279661c6a2cc005b0a3df76c9e
1 import { Entity
} from '@serpentity/serpentity';
2 import Position
from '@serpentity/components.position';
3 import TripleFrequency
from '../components/triple_frequency';
4 import TripleAmplitude
from '../components/triple_amplitude';
5 import Color
from '../components/color';
7 export function lissajousCurve() {
9 const entity
= new Entity();
10 entity
.addComponent(new Position());
11 entity
.addComponent(new TripleFrequency());
12 entity
.addComponent(new TripleAmplitude());
13 entity
.addComponent(new Color());