Comments (4)
How to represent a weight for the next frame in the clip? Maybe this clip idea should become even a tagging system than part of the actual data structure and every transition is represented by a transition?
from pikov.
I know I want to be able to handle transitions based on events (such as key presses). Is there a more generic way to handle this? I guess since we are defining a default behavior of weight = 1 (as compared to a default of weight 0), random transitions will always take the least precedence.
from pikov.
A thought on the more generic way to handle event-based transitions: think of a transition edge as a function whose range is a probability weight (and I guess the transformed sprite state, too, since transitions should be responsible for x-y-offsets between frames).
The input is the original sprite state and any subscribed-to events that have happened.
from pikov.
Probably we'd want integer priority tiers for event handlers. Try all the event handlers in a priority tier and turn those results into probabilities of which function to actually apply. If all event handlers return 0, then move on to the next tier.
from pikov.
Related Issues (20)
- Non-Jupyter renderer for Pikov files HOT 2
- Reimplement command-line, add CLI tests
- Add MultiClip to preview transitions between clips
- GIF preview for Pikov
- Method to delete a Transition
- Method to delete a Frame
- Friendly ID property for clips
- IPython preview for a collection of clips
- bag of files version of Pikov
- Add helper method to find absorbing frames HOT 1
- Starting clip / frame property for Pikov
- Support comparison across Pikov objects
- Method to create a Clip by following shortest path from Frame A to Frame B HOT 1
- Network visualization of Pikov files
- Support SVG images (and optionally tween between frames)
- Clarify computation model for Pikov animations
- JSON version: Pikov transitions should be more imperative
- Register classes based on ctor
- Build first compiler - Frame / Scene to HTML + JavaScript
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 pikov.