The essential news about content management systems and mobile technology. Powered by Perfect Publisher and XT Search for Algolia.
The News Site publishes posts to the following channels: Facebook, Instagram, Twitter, Telegram, Web Push, Tumblr, and Blogger.
Read more https://feeds.joomla.org/~r/JoomlaExtensions/~3/bihTVPNly_c/26801
Read more https://feeds.joomla.org/~r/JoomlaExtensions/~3/L2KrSSwuhlM/26799
Obelisk.js (GitHub: nosir / obelisk.js, License: MIT) by Max Huang is a library for building isometric graphics.
With the simple and flexible API provided by this engine, you can easily add isometric pixel element like brick, cube, pyramid onto HTML5 canvas. Obelisk.js strictly follows the pixel neat pattern: lines with 1:2 pixel dot arrangement, leading to an angle of 22.6 degrees.
Max has written some cool examples, like a GIF to isometric convertor and text rendering.
There are also tutorials that introduce the basics, like building cubes and other primitives.
To draw a cube, you need to get an instance of a dimension, colour, and the Cube
primitive. The library uses its own wrappers for colours and dimensions to set up the right co-ordinates and shading for the isometric effect:
var point = new obelisk.Point(270, 120);
var pixelView = new obelisk.PixelView(canvas, point);
var dimension = new obelisk.CubeDimension(120, 200, 60);
var color = new obelisk.CubeColor().getByHorizontalColor(obelisk.ColorPattern.GRAY);
var cube = new obelisk.Cube(dimension, color);
pixelView.renderObject(cube);
The base class is obelisk.AbstractPrimitive
, which Cube
inherits from. There’s a demo/
directory with more examples.
Read more https://feedproxy.google.com/~r/dailyjs/~3/KLcevkniuOc/obelisk
It's possible to show a 3D sphere published on Google Maps Views, even it is not publish on google maps and still private. Also it is now possible to show a specific streetview location on a map by using its streetview ID (version => 3.2).
{mosmap sv='top'| svpano='MTJYLsFY9NgAAAGur6LBiw'| svautorotate='1'| svaddress='0'| centerlat='51.904144'| centerlon='4.466959'}
Uploading your photo spheres to Views
Embedding photo spheres on your website is really easy once you’ve contributed them to Google Maps and the Views[1] community (see Google help center[2] to learn how to do this for photo spheres you have on Google+ or your Android device).
Once your photo spheres are public on Views, go to your profile page and find the image you want to embed. As shown in the screenshot below, simply click the Share button.
Then in the link field copy the parameter photo. So:
https://www.google.com/maps/views /view/105688797108202701037 /photo/MTJYLsFY9NgAAAGur6LBiw
Or the IFRAME embed code, look for the “panoid” value within the URL (ex. MTJYLsFY9NgAAAGur6LBiw)
Use this panoid value to set the svpano parameter in the mosmap command.
Page 808 of 1312