NWSTK (beta)

A Multiplatform Toolkit common to both Wasm and Windows.

# Name
Click To Run
Description last modified date
Japan Standard Time
1 demo1
Click
Test for EditWidget, Window Menu. 2020/01/13
2 demo2
Click
Test for Loading and Drawing Image via CImage class.
Also, it's testing to use rotation and translation matrix in an interval timer event.
2020/01/13
3 land_demo
deleted
Test for drawing the 3D geometry of the land.
This demo uses Canvas 2D of JavaScript.
Wire Frame
2020/01/13
4 land_demo_WebGL
Click
WebGL WireFrame Version of #3. 2020/01/13
5 land_demo_Polygon
Click
WebGL Polygon Version of #3. 2020/01/13
6 land_demo_Voxel
Click
WebGL Voxel-like Version of #3. 2020/01/13
7 demo_Mountain
Click
Drawing Mountain-like geometry using WebGL polygons. 2020/01/13
8 demo_tennis
Click
The demo of 2D tennis game using WebGL. 2020/01/13

This site needs WebAssembly supported Browser such as Chrome 73 or FireFox 65.
Unfortunately, neither IE8 nor IE11 is supported.

These demos can be scaled up/down to any scaling. For example, if you are using Chrome, try such as the following keys:

NWSTK = NOWSMARTSOFT TOOLKIT.
Wasm   = WebAssembly.

Programmed by NOWSMARTSOFT, LightCone, Yutaka Aoki.

Compatibility

Browser OS Status Speed Description
Chrome 79 Win7, Pro, 64BIT slow ---> very slow for WebGL in Intel HD Graphics. With Intel HD Graphics, Chrome cannot use Hardware Accelerator for WebGL.
Chrome 78 Win7, Pro, 64BIT good fast
Chrome 73 Win7, Pro, 64BIT good fast
FireFox 71.0 Win7, Pro, 64BIT good faster
FireFox 67 Win7, Pro, 64BIT good faster
Chrome 79 Fire HD 10 Tablet (9th, 2019)
FireOS (based Android 9.0)
good fast
Chrome 73 Fire 7 Tablet (7th, 2017)
FireOS (based Android 5.0)
Ok enough fast
except demo_Mountain
FireFox 66.0.2 Fire 7 Tablet (7th, 2017)
FireOS (based Android 5.0)
WebGL fails.
But demo1 and demo2 are Ok.
fast Probably, this tablet GPU chip is not supported by this version's FireFox mobile.
Silk Browser Fire HD 10 Tablet (9th, 2019)
FireOS (based Android 9.0)
Ok fast at running but slow at loading Loading Page is very slow.
Parsing JavaScript is so slow ??
FireFox Ubuntu Linux, 32BIT Ok fast

Link

NWSTK HomePage1(fast, PWA, github)
NWSTK HomePage2(slow, not PWA, atwebpages, ZettaHost)

Program

This program has been built with NWSC "C++ Nex" Compiler and clang toolset, and is running under Wasm (WebAssembly), and is using NWSTK which is a multiplatform toolkit for Wasm and Windows. NWSTK represents NOWSMART ToolKit.
But, neither Emscripten compiler emcc nor its library was used to build this program.
Clang toolset is used as an LLVM BackEnd but is NOT used as a C/C++ compiler.

Produced by NOWSMARTSOFT, LightCone.

History

Modified Date
Japan Standard Time
Description
2020/01/13 Touch Mark in the device with touch panel has been improved to be clearly cognizable.
2020/01/08 Touch Mark has been able to be changed in the device with touch panel for representing the state of the operation.
2020/01/03 Menu Operation for the device with touch panel has been improved. 
2019/12/13, 11:10
  1. demo_tennis has been added.

  2. HTML5 DOM elements which is not drawn by NWSTK has started to be able to be clicked or dragged.

  3. The menu item which does not have an event handler has started to be drawn with grayed color for specifying as a disabled item.

  4. index.html and corresponded CSS file has been arranged for the clean source.

  5. ServiceWorker has been modified.

  6. Various bug fix.
2019/11/20
  1. It has started to support PWA -- Progressive Web Application.

    But it need to be placed in the https server.

    So it can be tested only at the site https://yutakaaoki.github.io/ at present.

  2. It has supported gziped test.wasm which is automatically compressed via Apache mod_gzip module for Progress Bar at the begin of starting up test.wasm. It is acctually demonstrated in the github homepage at the linked site above.
2019/11/17, 17:45
  1. Progress Bar with percent number during initial loading wasm module was implemented.

  2. File Open Dialog("Open" Menu) and File Save Dialog ("New" Menu) from main menu were implemeted experimentally.
2019/05/01, 21:43 Especially in a slow mobile device/phone/tablet, an emission of a pulldown menu has become faster than the previous.
2019/05/01, 08:36 If it is failed to get WebGL context for canvas, the toolkit will pop up an error dialog that alerts that.
This feature is for a FireFox 66.0 in the Amazon 7th generation Fire7 Tablet.
2019/04/30 In the environment where touch panel is used such as Mobile -- Android, a touch mark like a missile target mark has been started drawing at the touched point.
2019/04/21
  1. EditWidget has started supporting key inputs from the on-screen keyboard for Mobile Device(Touch Panel).
    Among them, tested specially for USA English and Japanese on-screen Keybords in the intel HAXM Andoid Emulator.

  2. IME -- Input Method Editor -- for both PC and Mobile has been started supporting. Testing was done especially for Japanese IME.

  3. In mobile devices, the width of sensitive borders or resizing gripper to resize the demension of windows have been wider than the previous.

  4. The dimension and position of windows in demo1 has been adjusted in mobile devices.