Pages

duminică, 11 februarie 2018

The regl and webgl .

The regl is a new functional abstraction for wegbl.
The official website can be found here.

For example, using WebGL, we iterating over points from the CPU to the GPU.
The regl makes it really easy to dive right in and start playing around, like shaders.
Let's see one simple example with points :

const drawPoints = regl({
    frag: '
    // set the precision of floating point numbers
         precision highp float;

         // this value is populated by the vertex shader
    varying vec3 fragColor;

    void main() {
     // gl_FragColor is a special variable that holds the color of a pixel
     gl_FragColor = vec4(fragColor, 1);
    }
    ',

    vert: '
    // per vertex attributes

    }
    ',

    attributes: {
     // each of these gets mapped to a single entry for each of the points.

    },

    uniforms: {
     // by using 'regl.prop' to pass these in, we can specify them as arguments

    },

    // if want points then specify the number of points to draw
    count: points.length,

    // specify that each vertex is a point (not part of a mesh)
    primitive: 'points',
 });
// the next step 
// initialize regl
regl({
  // callback when regl is initialized
  onDone: main
});

vineri, 9 februarie 2018

Fonts - WOFF fonts - part 001.

Today I will start a new series of tutorials about fonts.
The main reason was that web development and font are very useful both in transmitting content and in the ergonomics of any website.
I will try to highlight less well-researched issues that come to the aid of any type of developer.
The first step is about WOFF and WOFF2 font files.
A WOFF file is a web font file created in the WOFF (Web Open Font Format) format.
This open format used for delivering webpage fonts on the fly.
It is saved as a compressed container and supports TrueType (.TTF) and OpenType (.OTF) fonts. Another good thing allows information about software licensing.

Some benefits of using WOFF:

  • web sites using WOFF will use less bandwidth and will load faster than if they used equivalent fonts; 
  • many font vendors that are unwilling to license like TrueType OpenType;
  • the free-software browser vendors like the WOFF format becoming a truly universal, interoperable font format for the web;
  • WOFF files are referenced within CSS files using the @font-face rule;
  • WOFF files were replaced with .WOFF2 files;
  • the WOFF 2.0 format that features improved compression;

One example of use this fonts into CSS - the stylesheet area:
@font-face {
  font-family: 'MyFontWebsite';
  src: url('webfont.eot'); /* IE9 Compat Modes */
  src: url('webfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('webfont.woff2') format('woff2'), /* Super Modern Browsers */
       url('webfont.woff') format('woff'), /* Pretty Modern Browsers */
       url('webfont.ttf')  format('truetype'), /* Safari, Android, iOS */
       url('webfont.svg#svgFontName') format('svg'); /* Legacy iOS */
}

This table show the browsers support:
Chrome Safari Firefox Opera IE Android iOS
36+ No 35+ with flag 23+ No 37 No

joi, 8 februarie 2018

SVG Circus online tool for animated SVG .

This online tool let you to make animation using SVG file format - SVG stands for Scalable Vector Graphics.

  Scalable Vector Graphics is an XML-based vector image format for two-dimensional graphics with support for interactivity and animation. The SVG specification is an open standard developed by the World Wide Web Consortium since 1999. - Wikipedia.

The developer tell us:
SVG Circus enables you to create cool animated SVG spinners, loaders and other looped animations in seconds.

Make fonts for any language.

A problem with your fonts occurs when you do not find the letters specific to the spoken language. This is a simple tutorial about how this online tool can help you.
Select create your font with TEMPLATES from toolbar website .
The next step is selecting from multiple options: basic templates, custom templates, or languages. Modify each letter of the downloaded template.
If you already have an image of your template, click on Upload Template in the toolbar at the top.

duminică, 4 februarie 2018

The TreeIt 3D software.

This 3D free software allow you to create and export tree.
You can select easy to use and this powerfull real time 3d tree generator.
You can use for the simple creation of your very own 3d tree models or just open default examples.
Features:
  • easy to create high quality 3D trees;
  • create any tree, not limited to just one tree type;
  • edit joints as well as break joints;
  • render to image for leaf creation;
  • create adjustable LOD slider;
  • use exports to *.dbo *.fbx *.obj *.x ;

The program start with a default tree with trunk.
You need to select your settings fro the new tree.
The result can be fast and very good.
You can download it from here.

joi, 25 ianuarie 2018

The Ventusky - weather tool .

This website come with a good weather features and application and with a great graphics and design.
The Ventusky application to your mobile phone or tablet come with faster data loading, better-arranged control and more detailed forecasts.
See the next screenshot of Ventusky webpage:

The windytv - weather tool .

This website come with a good weather features.
Take a look here.

marți, 23 ianuarie 2018

See the solar system into 3D and VR.

If you want to see the solar system in 3D or VR, we have found a very good website.
The website can be found at ocbnet.ch and is very interesting.
Here's a screenshot of this website.

luni, 22 ianuarie 2018

The VECTARY online tool .

This online tool come with many feature for design , create and sell 3D objects. This runs online in your browser. Just create one account and start 3D modeling.
If you’re designing in VECTARY online tool , you can now get commercial use for your own 3D models.
Also you can sell your 3D printed products on platforms like Etsy, Shapeways or Sketchfab.
The editor workspace consists of the scene, the panels for tools, toggles, selections, the Help Center, and a summary of the project's stats.
See the next video from vimeo or take a look at official youtube channel.

WebGL online tool report .

This is a website online tool that help you with the web development and WebGL.
This make tests for WebGL and reports to user like text and graphics
Is simple to use it.
Just open the website and see the result for your WebGL computer.
For example the result of my computer show like that:

Platform:Win32
Browser User Agent:Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36 OPR/50.0.2762.58
Context Name:webgl2
GL Version:WebGL 2.0 (OpenGL ES 3.0 Chromium)
Shading Language Version:WebGL GLSL ES 3.00 (OpenGL ES GLSL ES 3.0 Chromium)
Vendor:WebKit
Renderer:WebKit WebGL
Unmasked Vendor:Google Inc.
Unmasked Renderer:ANGLE (Intel(R) HD Graphics 4600 Direct3D11 vs_5_0 ps_5_0)
Antialiasing:Available
ANGLE:Yes, D3D11
Major Performance Caveat:No

duminică, 21 ianuarie 2018

The glslbin online tool .

This web tool named glslbin can help you to test your shaders online.
Is very simple to use it:
  • open the tool;
  • delete the source code or change the example;
  • run your work ;
  • you can also save it.
The development team tell us about this online tool:
glslbin is a fragment shader sandbox similar to ShaderToy or GLSL Sandbox. It's still a work in progress, so expect more to come soon. It adds support for glslify, a GLSL module system which allows you to easily pull in shared code snippets from npm. These modules are all hosted as part of the stack.gl project: you can find a full list of packages in the "Shader Components" section here. Enjoy!

marți, 9 ianuarie 2018

Blender 3D - Blender Add-ons 3DM Snow.

This Blender 3D addon let you to make a snow mesh into your 3D scene.
The addon can be get from github website and is make by 3DMish.
The addon come with few settings to set up the size of the mesh and the material of snow.
Just select your object and use this tool to make the snow.
Note: To use this addon you need to set 3D window from Object Mode, select the object and press the Create snow button.

sâmbătă, 6 ianuarie 2018

Make movies like minecraft with mineimator .

If you like Minecraft game then you create animated videos using blocks, items and the lovable characters from Minecraft.
You can using particles, lights and camera effects and share your finished video.
You can download it from here.