Web
React Notes About Mobile Phone Wallpaper Preview
CSS: Make DIV Center: Make elements in div on the one line App.js App.css: Save DIV As An Image App.js
CSS: Make DIV Center: Make elements in div on the one line App.js App.css: Save DIV As An Image App.js
We have made changes to the website’s navigation structure. The most frequently used tools have been placed under the sub-menu of “Web Apps.” If you want to find and use other tools, you can simply open the “Web Apps” page and search there. “Downloads” has been moved to the primary Read more…
Tool address:https://www.weiy.city/functions/static-meme-generator/ Use react state to record two variables: Save image and text on it as a new image Create a canvas and use it to draw image and text for a new image.We need pay attention to text font weight and base line setting for the position effect. Draw Read more…
I found that the font size of lesson content and lesson side bar was too small in the wordpress plugin tutor LMS. How to make these strings bigger? I changed the font size after read the answer from https://wordpress.org/support/topic/tutor-lms-free-version-font-really-small-how-can-i-change-this/. From wp admin backend dashboard > appearance > customize > additional Read more…
To install an SSL certificate on CentOS, you can use the certbot tool to obtain and install Let’s Encrypt SSL certificates.Here are the step-by-step instructions. Install Certbot Obtain and Install SSL Certificate Run Certbot to obtain and install the SSL certificate for your domain: Replace your_domain.com with your actual domain Read more…
We have added a zoom function to the illustrations of the articles on our website. For scenarios where the image size itself is already large, when you move the cursor over the image, the zoom will take effect, allowing users to enlarge nearby image details for easier browsing. The effect Read more…
I found an interesting issue about vtkSDL2OpenGLRenderWindow::SetSize when changed canvas for VTK WASM 3D window.The related post on the website is Change Canvas For VTK WASM Project. The interface SetSize can work if it was used before m_RenderWindowInteractor->SetRenderWindow( newWin );.It means the 3D window will become smaller or bigger than the outer shell. The red object Read more…
There are some errors and warnings after I changed canvas for VTK wasm. The related post: https://www.weiy.city/2023/11/change-canvas-for-vtk-wasm-project/ We need to free up graphics resources with the old window before we render again. worker.cpp:
Environment:VTK Branch_v9.1.0emcc (Emscripten gcc/clang-like replacement + linker emulating GNU ld) 3.1.39 I tested two interfaces for pick operation of vtkPropPicker on web page. The result value is awalys 0. Invoking code: There are warning on browser log: Maybe that’s a bug of VTK For WebAssembly. All source code has been Read more…