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