graphicore / atem-property-language Goto Github PK
View Code? Open in Web Editor NEWAtem-Project: Language to define CPS property values. Includes the property language of MOM
License: GNU General Public License v3.0
Atem-Project: Language to define CPS property values. Includes the property language of MOM
License: GNU General Public License v3.0
I'm putting this here, however, it may be enough to make this possible by adding cps white listing to https://github.com/graphicore/Atem-Math-Tools/blob/master/lib/transform.js to get the transformation components 0 to 5.
(compare https://github.com/graphicore/Atem-Math-Tools/blob/master/lib/Vector.js which defines whitelisting for x and y)
Another, maybe more elegant way would be to mark elements as accessible via the generic array getter of https://github.com/graphicore/Atem-CPS-whitelisting/blob/master/lib/whitelisting.js
That would be evaluated either in the getter definition in the MOM flavour or by StyleDict.
But, not what the best approach is to interpolate transformation matrixes. My first try would be in CPS:
t1
first transformation matrix
t2
second transformation matrix
p1
first proportion, between 0 and 1
p2
second proportion, between 0 and 1
Where p1 + p2 = 1
transformation: Transformation
(t1[0] * _p1 + t2[0] * _p2)
(t1[1] * _p1 + t2[1] * _p2)
(t1[2] * _p1 + t2[2] * _p2)
(t1[3] * _p1 + t2[3] * _p2)
(t1[4] * _p1 + t2[4] * _p2)
(t1[5] * _p1 + t2[5] * _p2)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.