Processing Hats
Description: /* Draws Pi on a spiral spiral_text_003 based on code by -~=Manoylov AC=~- https://www.openprocessing.org/sketch/168364 Pi from http://www.geom.uiuc.edu/~huberty/math5337/groupe/digits.html Adaped for Redbubble by Rupert Russell 2 July 2018 Code avaiable on Github at https://github.com/rupertrussell/spiralText_004 Artwork available on Redbubble at: https://www.redbubble.com/people/rupertrussell/works/32496057-pi-spiral-55-554-digits */
Description: // Created with Processing see processing.org // Licensed under Creative Commons Attribution ShareAlike // https://creativecommons.org/licenses/by-sa/3.0 // https://creativecommons.org/licenses/GPL/2.0/ // http://www.redbubble.com/people/rupertrussell // triangles_005_001 // 20170205 PVector a; PVector b; PVector c; float shrink = .9; float grey=0; float len = 27000; // ensure that this is larger thatn the camvas boolean black = true; void setup () { size(13500, 13500); background(255); noLoop(); smooth(); strokeWeight(1); stroke(grey); int size = 13500; a = new PVector(-size, -size, 0); b = new PVector(size, -size, 0); c = new PVector(0, size, 0); } void draw () { translate(width ...
Description: A central processing unit (CPU) is a hardware component that’s the core computational unit in a server. Servers and other smart devices convert data into digital signals and perform mathematical operations on them. The CPU is the primary component that processes the signals and makes computing possible. It acts as the brain of any computing device. It fetches instructions from memory, performs the required tasks, and sends output back to memory. It handles all computing tasks required for running the operating system and applications.
Description: // Daniel Shiffman // http://codingtra.in // http://patreon.com/codingtrain // Code for: https://youtu.be/KWoJgHFYWxY // Coding Challenge #30: Phyllotaxis // http://algorithmicbotany.org/papers/abop/abop-ch4.pdf int n = 200010; float c = 8.5; float start = 0; float hu ; float radius; float rrr, ggg, bbb; void setup() { // size(13500, 13500); size(5000, 5000); // colorMode(HSB, 360, 255, 255); background(0); stroke(0); strokeWeight(.5); println("Running"); } // https://raw.githubusercontent.com/CodingTrain/Rainbow-Code/master/challenges/CC_30_Phyllotaxis/CC_30_Phyllotaxis.pde void draw() { noLoop(); translate(width / 2, height / 2); for (int i = 0; i < n; i++) { float a = i *...
Description: Created with "Processing":http://processing.org/ // Draws a Lissajous figures // 1 April 2011 // http://www.rupert.id.au/tutorials/processing/examples.php float Scale = 1; int screen_width = round(240 * Scale); int screen_height = round(240 * Scale); /* Scale image and reduce by 10 pixels to remove from edge of screen */ int AX = (screen_width/2) - round(10 * Scale); int BX = (screen_height/2) - round(10 * Scale); float a = 1; float b = 1; int counter = 0; int saveCounter = 0; int count = 0; String str_count; String file_name; void setup(){ smooth(); fill(255); strokeWeight(1); // Thin size(screen_width,screen_height); } // Based on Microworlds LOGO code from http://www.mathcats.com/ga...