]> git.r.bdr.sh - rbdr/lissajous/blob - lib/factories/curves.js
d9f0f472ddd617c2457cb64ce09f7f016332b174
[rbdr/lissajous] / lib / factories / curves.js
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';
5
6 export function lissajousCurve() {
7
8 const entity = new Entity();
9 entity.addComponent(new Position());
10 entity.addComponent(new TripleFrequency());
11 entity.addComponent(new Color());
12
13 return entity;
14 }