diff --git a/src/constants/code/Backgrounds/radarCode.ts b/src/constants/code/Backgrounds/radarCode.ts index 727f6e1..7b805fc 100644 --- a/src/constants/code/Backgrounds/radarCode.ts +++ b/src/constants/code/Backgrounds/radarCode.ts @@ -15,7 +15,7 @@ export const radar = createCodeObject(code, 'Backgrounds/Radar', { :sweepSpeed="1" :sweepWidth="2" :sweepLobes="1" - color="#9f29ff" + color="#27FF64" backgroundColor="#000000" :falloff="2" :brightness="1" diff --git a/src/constants/code/Backgrounds/softAuroraCode.ts b/src/constants/code/Backgrounds/softAuroraCode.ts new file mode 100644 index 0000000..f38716c --- /dev/null +++ b/src/constants/code/Backgrounds/softAuroraCode.ts @@ -0,0 +1,30 @@ +import code from '@content/Backgrounds/SoftAurora/SoftAurora.vue?raw'; +import { createCodeObject } from '../../../types/code'; + +export const softAurora = createCodeObject(code, 'Backgrounds/SoftAurora', { + installation: `npm install ogl`, + usage: ` + +` +}); diff --git a/src/content/Backgrounds/Radar/Radar.vue b/src/content/Backgrounds/Radar/Radar.vue index 7323046..c71dd03 100644 --- a/src/content/Backgrounds/Radar/Radar.vue +++ b/src/content/Backgrounds/Radar/Radar.vue @@ -108,7 +108,7 @@ const props = withDefaults(defineProps(), { sweepSpeed: 1.0, sweepWidth: 2.0, sweepLobes: 1.0, - color: '#9f29ff', + color: '#27FF64', backgroundColor: '#000000', falloff: 2.0, brightness: 1.0, diff --git a/src/content/Backgrounds/SoftAurora/SoftAurora.vue b/src/content/Backgrounds/SoftAurora/SoftAurora.vue new file mode 100644 index 0000000..6df3ad2 --- /dev/null +++ b/src/content/Backgrounds/SoftAurora/SoftAurora.vue @@ -0,0 +1,306 @@ + + + diff --git a/src/demo/Backgrounds/RadarDemo.vue b/src/demo/Backgrounds/RadarDemo.vue index 8f05527..3df90cf 100644 --- a/src/demo/Backgrounds/RadarDemo.vue +++ b/src/demo/Backgrounds/RadarDemo.vue @@ -89,7 +89,7 @@ const spokeThickness = ref(0.01); const sweepSpeed = ref(1.0); const sweepWidth = ref(2.0); const sweepLobes = ref(1.0); -const color = ref('#9f29ff'); +const color = ref('#27FF64'); const backgroundColor = ref('#000000'); const falloff = ref(2.0); const brightness = ref(1.0); @@ -154,7 +154,7 @@ const propData = [ { name: 'color', type: 'string', - default: '"#9f29ff"', + default: '"#27FF64"', description: 'Primary radar color in HEX format.' }, { diff --git a/src/demo/Backgrounds/SoftAuroraDemo.vue b/src/demo/Backgrounds/SoftAuroraDemo.vue new file mode 100644 index 0000000..111a0db --- /dev/null +++ b/src/demo/Backgrounds/SoftAuroraDemo.vue @@ -0,0 +1,117 @@ + + +