UNPKG

kitchen-simulator

Version:

It is a kitchen simulator (self-contained micro-frontend).

45 lines 1.13 kB
import { AreaFactory } from "../../factories/export"; import parquetTexture from "./textures/parquet.jpg"; import tile1Texture from "./textures/tile1.jpg"; import ceramicTexture from "./textures/ceramic-tile.jpg"; import strandPorcelainTexture from "./textures/strand-porcelain.jpg"; import grassTexture from "./textures/grass.jpg"; var info = { title: 'area', tag: ['area'], description: 'Generic Room', image: '' }; var textures = { parquet: { name: 'Parquet', uri: parquetTexture, lengthRepeatScale: 0.004, heightRepeatScale: 0.004 }, tile1: { name: 'Tile1', uri: tile1Texture, lengthRepeatScale: 0.01, heightRepeatScale: 0.01 }, ceramic: { name: 'Ceramic Tile', uri: ceramicTexture, lengthRepeatScale: 0.02, heightRepeatScale: 0.02 }, strand_porcelain: { name: 'Strand Porcelain Tile', uri: strandPorcelainTexture, lengthRepeatScale: 0.02, heightRepeatScale: 0.02 }, grass: { name: 'Grass', uri: grassTexture, lengthRepeatScale: 0.01, heightRepeatScale: 0.01 } }; export default AreaFactory('area', info, textures);