Download
Here you can download the latest fatum version.
Changelog:
2016-01-18:
- Camera changes:
fixed Y-axis inversion in window coordinates. Y-axis points down in window and up in screen coordinates.
added a getScreen() method to get the screen in model coordinates.
added a new overload of
centerBox
without margin. - Fixed memory leak when using
defaultMark
. - Added a
ZORDERING
layer flag to enable/disable sorting the elements by Z coordinates (needed for correct transparency rendering, not needed if you do not use alpha channel). It has a slight performance impact, since sorting is O(n*log(n)). Off by default. - Swapping during an animation jumps directly to the end of the animation (useful in interaction scenarios where you do not know if an animation is running).
- Added support for min/max Mark screen size as a global parameter.
- Added a new
copy
method for Marks. It is similar toclone
, but copies properties to an existing Mark.
2015-09-13:
- Change the
POINT
shape toPIXEL
for clarity - Add an
occlusion
method to enable occlusion for aText
- Add
numberOfTexts
to get the number ofText
- Add multiple fonts support :
fatum.fonts()
returns an Array of currently registered fontsfatum.registerFont(file)
enables to load a font from a freetype compatible file from the emscripten filesystem
2015-07-17:
- Add function
clear
to remove every entity in the visualization. - Fix: The y-axis of the window coordinates was inverted.
- Fatum now uses the Augmenting Module pattern, so you can define
Fatum
before includingfatum.js
to pass options.
2015-07-04:
- The camera is now double buffered as well, which enables camera animations.
- Implemented Z-ordering.
- Added Text support.
- The default rendering observer now uses
requestAnimationFrame
. - New initialization process : define the
Fatum
global object and initialize asynchronously. - Add the
addInitListener
hook to run code when Fatum initialization is complete (use that instead ofwindow.onload
). - Radial and internal clipping rendering is now antialised.
- It is not needed to call
delete()
anymore to release memory. - Now uses a memory init file, which splits code in several files and enables better caching.