refinement
This commit is contained in:
@@ -11,6 +11,7 @@ import { spawnVDecay } from './vdecay.js';
|
||||
import { generateShock } from './shock.js';
|
||||
import { generateArtifacts } from './artifacts.js';
|
||||
import { generateInstrument } from './instrument.js';
|
||||
import { generateMedia } from './media.js';
|
||||
import { cyrb53 } from '../rng.js';
|
||||
|
||||
const LABS = ['BEBC · CERN', 'GARGAMELLE · CERN', '2m HBC · CERN', '82" HBC · SLAC', 'MIRABELLE · IHEP'];
|
||||
@@ -144,5 +145,8 @@ export function generateScene(params) {
|
||||
const exposure = `${year}.${String(month).padStart(2, '0')}.${String(day).padStart(2, '0')}`;
|
||||
const lab = pick(makeRng(params.seed, 'lab'), LABS);
|
||||
|
||||
return { tracks, vertex: fgVertex, shock, artifacts, instrument, hash, plate, exposure, lab };
|
||||
const out = { tracks, vertex: fgVertex, shock, artifacts, instrument, hash, plate, exposure, lab };
|
||||
// physical-artifact & human layer (grease pencil, film furniture, réseau, splice)
|
||||
out.media = generateMedia(params, out, makeRng(params.seed, 'media'));
|
||||
return out;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user