Skip to content

Commit

Permalink
fix(math): test (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
xs10l3 authored Oct 5, 2024
1 parent e9034c0 commit c16e788
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import { usePlayer, useWidget } from '@vue-motion/core'
import { Group, Motion, grow } from '@vue-motion/lib'
import { onMounted } from 'vue'
import type { MathFunction } from '@vue-motion/extension-math'
import { MathFunction } from '@vue-motion/extension-math'
import { NumberPlane, PolarPlane } from '@vue-motion/extension-math'
import { Column, Container, Row } from '@vue-motion/extension-layout'
Expand All @@ -27,10 +27,10 @@ onMounted(() => {
<template>
<Motion id="motion" :width="1000" :height="3000">
<!-- <Group> -->
<!-- <NumberPlane :ranges-x="[-5, 5]" :ranges-y="[-5, 5]" /> -->
<!-- <MathFunction :fn="(x) => Math.sin(x)" color="skyblue" :domain="[-5, 5]" :ranges="[-1, 1]" wid="fn1" /> -->
<!-- <MathFunction :fn="(x) => Math.cos(x)" color="red" :domain="[-5, 5]" :ranges="[-1, 1]" wid="fn2" /> -->
<!-- <MathFunction :fn="(x) => Math.tan(x)" color="green" :domain="[-5, 5]" :ranges="[-1, 1]" wid="fn3" /> -->
<!-- <NumberPlane :ranges-x="[-5, 5]" :ranges-y="[-5, 5]" :grid="false"/> -->
<!-- <MathFunction :fn="(x) => Math.sin(x)" color="skyblue" :domain="[0, 0]" :ranges="[0, 5]" wid="fn1" /> -->
<!-- <MathFunction :fn="(x) => Math.cos(x)" color="red" :domain="[0, 0]" :ranges="[0, 5]" wid="fn2" /> -->
<!-- <MathFunction :fn="(x) => Math.tan(x)" color="green" :domain="[0, 0]" :ranges="[0, 5]" wid="fn3" /> -->
<!-- </Group> -->
<Group>
<Column :height="6000">
Expand Down

0 comments on commit c16e788

Please sign in to comment.