Add presets utility to hyperspeed code object

This commit is contained in:
David Haz
2025-11-03 17:09:18 +02:00
parent 88948f5af4
commit 1515fa6cd6

View File

@@ -1,8 +1,10 @@
import code from '@content/Backgrounds/Hyperspeed/Hyperspeed.vue?raw';
import presets from '@content/Backgrounds/Hyperspeed/HyperspeedPresets.ts?raw';
import { createCodeObject } from '../../../types/code';
export const hyperspeed = createCodeObject(code, 'Backgrounds/Hyperspeed', {
installation: `npm install three postprocessing`,
utility: presets,
usage: `<template>
<div class="hyperspeed-container">
<Hyperspeed :effect-options="effectOptions" />