Search Preview
A Visual Quine for Processing | Roger Antonsen
rantonse.noThere is a small easter egg in the TED talk that I gave last weekend, and it is a visual quine for Processing
.no > rantonse.no
SEO audit: Content analysis
Language | Error! No language localisation is found. | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Title | A Visual Quine for Processing | Roger Antonsen | ||||||||||||||||||||||||||||||||||||
Text / HTML ratio | 32 % | ||||||||||||||||||||||||||||||||||||
Frame | Excellent! The website does not use iFrame solutions. | ||||||||||||||||||||||||||||||||||||
Flash | Excellent! The website does not have any flash contents. | ||||||||||||||||||||||||||||||||||||
Keywords cloud | = currentHeight currentWidth code counter program programs Roger lines Antonsen int quine source output computer gtextLeading void Processing font loadStringsSelfDrawingSketchpde | ||||||||||||||||||||||||||||||||||||
Keywords consistency |
|
||||||||||||||||||||||||||||||||||||
Headings |
|
||||||||||||||||||||||||||||||||||||
Images | We found 2 images on this web page. |
SEO Keywords (Single)
Keyword | Occurrence | Density |
---|---|---|
= | 9 | 0.45 % |
currentHeight | 7 | 0.35 % |
currentWidth | 5 | 0.25 % |
code | 4 | 0.20 % |
counter | 4 | 0.20 % |
program | 4 | 0.20 % |
programs | 4 | 0.20 % |
Roger | 3 | 0.15 % |
lines | 3 | 0.15 % |
Antonsen | 3 | 0.15 % |
int | 3 | 0.15 % |
quine | 3 | 0.15 % |
source | 3 | 0.15 % |
output | 2 | 0.10 % |
computer | 2 | 0.10 % |
gtextLeading | 2 | 0.10 % |
void | 2 | 0.10 % |
Processing | 2 | 0.10 % |
font | 2 | 0.10 % |
loadStringsSelfDrawingSketchpde | 1 | 0.05 % |
SEO Keywords (Two Word)
Keyword | Occurrence | Density |
---|---|---|
Roger Antonsen | 3 | 0.15 % |
currentWidth = | 3 | 0.15 % |
source code | 3 | 0.15 % |
is a | 3 | 0.15 % |
in the | 2 | 0.10 % |
currentWidth currentHeight | 2 | 0.10 % |
for int | 2 | 0.10 % |
for Processing | 2 | 0.10 % |
= gtextLeading | 2 | 0.10 % |
40 currentHeight | 2 | 0.10 % |
= 40 | 2 | 0.10 % |
the source | 2 | 0.10 % |
currentHeight = | 2 | 0.10 % |
of the | 2 | 0.10 % |
counter float | 1 | 0.05 % |
work String | 1 | 0.05 % |
String lines | 1 | 0.05 % |
lines PFont | 1 | 0.05 % |
PFont font | 1 | 0.05 % |
font = | 1 | 0.05 % |
SEO Keywords (Three Word)
Keyword | Occurrence | Density | Possible Spam |
---|---|---|---|
= 40 currentHeight | 2 | 0.10 % | No |
40 currentHeight = | 2 | 0.10 % | No |
the source code | 2 | 0.10 % | No |
currentWidth = 40 | 2 | 0.10 % | No |
currentHeight = gtextLeading | 2 | 0.10 % | No |
float currentWidth currentHeight | 1 | 0.05 % | No |
counter float currentWidth | 1 | 0.05 % | No |
int counter float | 1 | 0.05 % | No |
font int counter | 1 | 0.05 % | No |
Roger Antonsen home | 1 | 0.05 % | No |
currentHeight void setup | 1 | 0.05 % | No |
PFont font int | 1 | 0.05 % | No |
lines PFont font | 1 | 0.05 % | No |
String lines PFont | 1 | 0.05 % | No |
work String lines | 1 | 0.05 % | No |
not work String | 1 | 0.05 % | No |
currentWidth currentHeight void | 1 | 0.05 % | No |
size600 800 lines | 1 | 0.05 % | No |
void setup size600 | 1 | 0.05 % | No |
setup size600 800 | 1 | 0.05 % | No |
SEO Keywords (Four Word)
Keyword | Occurrence | Density | Possible Spam |
---|---|---|---|
currentWidth = 40 currentHeight | 2 | 0.10 % | No |
= 40 currentHeight = | 2 | 0.10 % | No |
40 currentHeight = gtextLeading | 2 | 0.10 % | No |
Roger Antonsen home about | 1 | 0.05 % | No |
currentHeight void setup size600 | 1 | 0.05 % | No |
will not work String | 1 | 0.05 % | No |
not work String lines | 1 | 0.05 % | No |
work String lines PFont | 1 | 0.05 % | No |
String lines PFont font | 1 | 0.05 % | No |
lines PFont font int | 1 | 0.05 % | No |
PFont font int counter | 1 | 0.05 % | No |
font int counter float | 1 | 0.05 % | No |
int counter float currentWidth | 1 | 0.05 % | No |
counter float currentWidth currentHeight | 1 | 0.05 % | No |
float currentWidth currentHeight void | 1 | 0.05 % | No |
currentWidth currentHeight void setup | 1 | 0.05 % | No |
setup size600 800 lines | 1 | 0.05 % | No |
void setup size600 800 | 1 | 0.05 % | No |
otherwise it will not | 1 | 0.05 % | No |
size600 800 lines = | 1 | 0.05 % | No |
Internal links in - rantonse.no
Home Page | Roger Antonsen
About | Roger Antonsen
Talks | Roger Antonsen
Teaching | Roger Antonsen
Research | Roger Antonsen
Books | Roger Antonsen
Press | Roger Antonsen
Blog | Roger Antonsen
Art | Roger Antonsen
Hjemmeside | Roger Antonsen
A Visual Quine for Processing | Roger Antonsen
Heart for micro:bit and Processing | Roger Antonsen
Fixed Point Fascination | Roger Antonsen
Creative programming for mathematics | Roger Antonsen
Commitment and Warm Presence | Roger Antonsen
Roger Antonsen is the Lecturer of the Year | Roger Antonsen
Coffee with Roger | Roger Antonsen
Rantonse.no Spined HTML
A Visual Quine for Processing | Roger Antonsen Roger Antonsen homeabouttalksteachingresearchbookspressblogartENNO May 12, 2018A Visual Quine for ProcessingThere is a small easter egg in the TED talk that I gave last weekend, and it is a visual quine for Processing.A quine is a non-empty computer program which takes no input and produces a reprinting of its own source lawmaking as its only output. The standard terms for these programs in the computability theory and computer science literature are "self-replicating programs", "self-reproducing programs", and "self-copying programs".WikipediaBy this definition, my program is strictly speaking not a quine, considering the output is not the source lawmaking of the program, but a visualization of the source code. This program simply visualizes itself. In any case, it's fun. Here is the lawmaking if you are interested! PS. If you do try it, you have to save it with the name “SelfDrawingSketch.pde”, otherwise it will not work.String[] lines; PFont font; int counter; bladder currentWidth, currentHeight; void setup() { size(600, 800); lines = loadStrings("SelfDrawingSketch.pde"); font = createFont("SourceCodePro-Regular", 12); textFont(font); stroke(0, 255, 0, 60); fill(255); } void draw() { background(30); counter = 0; currentWidth = 40; currentHeight = g.textLeading; for (int i=0; i<lines.length; i++) { textAlign(RIGHT); text(i+1, currentWidth-20, currentHeight); textAlign(LEFT); line(40, currentHeight, 40 + textWidth(lines[i]), currentHeight); for (int j=0; j<lines[i].length(); j++) { char c = lines[i].charAt(j); if (counter < frameCount) { text(c, currentWidth, currentHeight); counter++; } currentWidth += textWidth(c); } currentWidth = 40; currentHeight += g.textLeading; } } by Roger Antonsen Roger Antonsen 2018 go to Norwegian site / gå til norsk side