Tool
New Tool – Chinese Handwriting
We add a new tool, Chinese Handwriting. You can choose different words style on the web page, upload your file and click on the convert button. Then the new PDF file will be generated and you can download it.
We add a new tool, Chinese Handwriting. You can choose different words style on the web page, upload your file and click on the convert button. Then the new PDF file will be generated and you can download it.
We add a new tool, add text on image, you can use it to input your text and get a screen shot image. URL: https://www.weiy.city/functions/text-on-image/ Youtube BiliBili More online tools can be found at the following page, search what you want by keywords on the page.
I tried to use exec function to run pandoc command line tool to do my task, but there had been an error code 43. It made me felt confused, so I redirected the output flow to a local file. Analyze the debug file, I got the following info. But the Read more…
A simple calculator which looks like the iphone app. You can use it at: https://www.weiy.city/functions/calculator/
Output: Here are two same variable declaration in the nested for loop. But the second var i will overlay rewriting the first one.So the sum contains only the first row values in the following example. We can use let instead of var for i when declare them in the nested for loop Read more…
Install the precompiled package of Node.js from the official website. (I chose LTS Linux x64.) https://nodejs.org/en/download After extracting it, add the path to the PATH environment variable. Install tsc We can use it successfully after the above steps
My old CPlusPlus project which uses VTK to display 3D scene worked on web page as wasm file. But after upgrading emsdk and compiling the multithreaded version of VTK, I always get the following error on the web page. I test VTK example at vtk/src/Examples/Emscripten/Cxx/Cone from GitHub. But the similar Read more…
We can export a CPlusPlus function in wasm for JS to control the time of invoking vtkRenderWindowInteractor::Start. But after the exported function called, we can’t run the following JS code due to the event loop caused the blockage. Read the code in VTK to find the way to give JS Read more…
Make canvas response to key press event We often create our custom iteractor style object to define our interactive behaviors.Write some debug code in OnKeyPress event.For web page, the element canvas is like Qt’s widget. Set property tabindex for responsing to user key press event. Asynchronous call It’s synchronous for JS code call wasm Read more…