..:: Canvas Oldschool Demo Effects Framework ::..
Codef HomePage : http://codef.santo.fr
Canvas Oldskool Demo Effects Framework
..:: Canvas Oldschool Demo Effects Framework ::..
Codef HomePage : http://codef.santo.fr
Under what license is this library?
I am trying to convert the Mindbomb 3D Ball Screen from JS/Codef to C# for conversion to C++/DirectX which I have wanted to do for years but I am having problems with the perspective calculations.
There seems to be no documentation for codef_3d.js
I have tried to separate the shape definition from the transformation but I still don't understand how this works.
Given this setup:
my3d=new codef3D(ballcanvas, 400, 40, 1, 900 );
my3d.vectorball_img(myobjworm, ball );
my3d.group.scale.x=my3d.group.scale.y=my3d.group.scale.z=30;
my3d.group.position.z = mover;
And these rotations:
my3d.group.rotation.x+=0.00;
my3d.group.rotation.y+=0.04;
my3d.group.rotation.z+=0.00;
Is this updating a COPY of the shapes definition:
my3d.group.children[i].position.y = siny-2;
But how is this transformed for display into real x,y coordinates?
Are the bobs transformed and then sorted in Z-order so the furthest away are displayed first?
What are the perspective calculations given the depth of the field and current mover position?
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.