Comments (6)
I am open to suggestions on more meaningful and mnemonic property names and json structuring. JSON property names are bit tightly integrated into the Component class code, so have to be a a bit of careful. Also we might have to consider compatibility with different versions of Webvs when changing property names, not much of an issue right now considering Webvs' current nascent state.
As for property value case-insensitivity. I agree. It should be case insensitive for enumerations, like blending modes, line-dot modes etc. I'll make a ticket for this.
from webvs.
Hmyeah, I am reading the code now, to see where exactly the json is interpreted, as far as I can see it's loaded directly as options, more or less - correct? Will continue reading...
Re:cases - Cool, thanks.
from webvs.
yeah. If you are reading the components code check the 1.2dev branch. I have done lots of re-work on the Components API. It supports live property updates the way AVS does. Also the structuring is (hopefully) a bit more cleaner. When i get time, I'll put up some docs in the wiki on how to write/read Component class code, meanwhile feel free to drop me a message and i can explain any parts of it.
from webvs.
I am on that branch, yes. Thanks, I might get back to you on that. :)
from webvs.
Is this issue relevant anymore? Can we close this?
from webvs.
Well unless we want to reconsider case-insensitivity (right now enums have to be allcaps, if i'm not mistaken), webvs and webvsc have been aligned by #40, and this can be closed.
from webvs.
Related Issues (20)
- Convolution filter is rotated compared to AVS HOT 9
- Support arbitrary linewidth
- Make enumeration property values case-insensitive
- Pillofight example not working properly
- Not running anywhere anymore. (libs.js error?) HOT 4
- Examples do not play audio in Chrome HOT 1
- Examples do not react to audio in Firefox
- Indexes in webvs JSON? HOT 2
- Handle unsupported effects gracefully HOT 1
- None of the examples work, because the music has been removed from Soundcloud. HOT 4
- Showcase live webvs examples on the web HOT 2
- Write more Unit Tests
- Uncaught TypeError: Cannot read property 'updateDimVars' of undefined
- Component support HOT 6
- New TexerII feature: Add variable for rotation
- SSC missing code variables
- Missing blendmodes
- func-tests don't run (on linux?) HOT 1
- Help with Preset 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 webvs.