/** * Texture 2. * * Using a rectangular image to map a texture onto a triangle. */ PImage img; void setup() { size(640,…
CNN-PDE 源代码
汇集 CNN-PDE 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
/** * Texture 3. * * Load an image and draw it onto a cylinder and a quad. */ int tubeRes = 32; float[] tubeX = new float…
/** * SaveFile 1 * * Saving files is a useful way to store data so it can be viewed after a * program has stopped running. T…
/** * SaveFile 2 * * This file a PrintWriter object to write data continuously to a file * while the mouse is pressed. When a…
/** * LoadFile 2 * * This example loads a data file about cars. Each element is separated * with a tab and corresponds to a d…
/** * LoadFile 1 * * Loads a text file that contains two numbers separated by a tab ('\t'). * A new pair of numbers is loaded…
/** * Non-orthogonal Collision with Multiple Ground Segments * by Ira Greenberg. * * Based on Keith Peter's Solution in * …
/** * Non-orthogonal Reflection * by Ira Greenberg. * * Based on the equation (R = 2N(N*L)-L) where R is the * reflection…
/** * Reach 2. * Based on code from Keith Peters (www.bit-101.com) * * The arm follows the position of the mouse by * calcu…
/** * Follow 1. * Based on code from Keith Peters (www.bit-101.com). * * A line segment is pushed and pulled by the cursor.…