• Fragmented learning Java (5) — calculating cylinder volume with Java


    A series of articles: Fragmented learning java outline Fragmented learning Java (1) — the first Java program Fragmented learning Java (2) — Java annotation Fragmented learning Java (3) — Java defines variables Fragmented learning Java (4) — Java data types Fragmented learning Java (5) — calculating cylinder volume with Java Fragmented learning Java (6) — […]

  • Grub learning notes


    A few days ago, when I installed the system, I installed Ubuntu first and then windows. As a result, Ubuntu could not be loaded and the booting system with EasyBCD was not satisfactory. Later, I came into contact with grub and thought it was a magic thing. I studied it.Finally, the most profound understanding of […]

  • 3D computer room creation based on HTML5 canvas


    For 3D computer rooms, monitoring is no longer difficult. Different people have different methods. Today, I tried to write an HTML5 based computer room with HT, and found that HT is easy to use. This example is a comprehensive example of lighting, atomization, maximum and minimum distance of eye in 3D computer room. Next, I […]

  • Partition 20191017


    1. Disk storage There are two main types of disk partitions: The maximum partition of MBR is no more than 2T, and a hard disk can have at most 4 primary partitions, or 3 (primary) + 1 (N logical partitions under expansion); GPT supports 128 partitions, all of which are primary partitions; 2. To create […]

  • Unity3D Method for Creating Cylinders


    Looking at this article, you may wonder why Unity has its own cylindrical component that can be generated directly, and why we need to use code to generate it. In fact, recently, the leader of the project has a requirement, that is, we have to operate the cylinder in the self-written editor, that is, the […]

  • 3.js Realization of Cylinder


    In this paper, we share the concrete code of 3.js drawing cylinder for your reference. The details are as follows. <!DOCTYPE html> <html lang=”en”> <head> <meta charset=”UTF-8″> < title > cylinder </title > <style> #canvas{ width:1100px; height:600px; border:1px solid; } </style> <script type=”text/javascript” src=”js/three.js”></script> <script> // Render var renderer; function init_renderer(){ width = document.getElementById(“canvas”).clientWidth; height […]