Comments (6)
Comment by Jacob in the discord:
This is definitely a must-have: https://vitejs.dev/guide/api-plugin.html#client-server-communication
Meta imports could be a problem. They are currently added at the top of scene files by a custom transformer.
from motion-canvas.
One possibility would be to add hot module replacement for components as well
This is unfortunately impossible since there's no way to tell if a change in the component has influenced the timing/duration of a scene. The current implementation does reload individual components but it recalculates the scene anyway.
from motion-canvas.
A change in a Konva component can influence the timing of a scene?
from motion-canvas.
I guess if the scene can read from properties imperatively all bets are off. The scene could do anything with that information.
from motion-canvas.
Exactly. It's also not uncommon for components to provide animation functions etc:
https://github.com/motion-canvas/core/blob/master/src/components/Sprite.ts#L238-L257
from motion-canvas.
Related to #25
from motion-canvas.
Related Issues (20)
- Setting the offset property of a `layout` component breaks edge accessors for that component
- Add color picker popover to ColorInput HOT 9
- Upgrade to Vite V5 HOT 1
- Constrain the size of the canvas from scene parameters
- Motion Canvas Controls Disappeared HOT 2
- Allow runtime plugins to extend scene meta fields
- Slanted fonts can result in characters at the start or end being cut off when opacity is lower than 1 or a shadow is placed on a Txt node HOT 1
- Editor locks up when setting the FPS to a negative value HOT 1
- Add Velocity Signal Functionality HOT 1
- Split scene into multiple Videos
- Introduce Signal Effects
- Error while using "npm start" using termux HOT 6
- Customization of ddefault Animation Player styles HOT 1
- Create a scene with custom data so that we could reuse the code for building multiple videos through automation NATIVELY HOT 1
- The audio sound is not aligned with the audio track. HOT 4
- Seperate Inherited properties/functions from other inherited properies/functions HOT 2
- Add a length() accessor to the Line component HOT 1
- Offline Icon Support HOT 1
- Different Browsers, Same Code, Different Appearance. HOT 1
- Mathematical operations for Vector2 signals HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from motion-canvas.