Built with blockbuilder.org
forked from georules's block: oh yes spiral
forked from georules's block: oh yes spiral
forked from georules's block: oh yes spiral
| <!-- Include the Polyfill --> | |
| <script src="https://www.javapoly.com/javapoly.js"></script> | |
| <script type = "text/java" src="rhino1.7.7.1/lib/rhino-1.7.7.1.jar"></script> | |
| <!-- Write your Java code --> | |
| <script type="text/java"> | |
| package com.demo; | |
| import com.javapoly.dom.Window; | |
| import java.lang.String; |
| var server = https.createServer(options, app).listen(port, function(){ | |
| into | |
| var server = https.createServer(options, app).listen(port, "hostname", function(){ |
| var hextest = function(hex) { | |
| function hexToRgb(hex) { | |
| var result = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(hex); | |
| return result ? { | |
| r: parseInt(result[1], 16), | |
| g: parseInt(result[2], 16), | |
| b: parseInt(result[3], 16) | |
| } : null; | |
| } |
| $(".value").load("", "", function(d) { | |
| var data = "data:image/jpg;base64," + $(".value").innerHTML | |
| $("img").attr("src", data) | |
| }) |
Built with blockbuilder.org
forked from georules's block: oh yes spiral
forked from georules's block: oh yes spiral
forked from georules's block: oh yes spiral
Built with blockbuilder.org
forked from georules's block: oh yes spiral
forked from georules's block: oh yes spiral
| <html> | |
| <head> | |
| <script src="http://code.jquery.com/jquery-1.12.0.min.js"> | |
| </script> | |
| <script> | |
| url = "http://api.openweathermap.org/data/2.5/weather" | |
| function getData(loc) { | |
| $.ajax({ | |
| url:url, |
| def encrypt(message, key): | |
| encMessage = "" | |
| for m in message: | |
| n = ord(m) + key | |
| encMessage = encMessage + chr(n) | |
| return encMessage | |
| def decrypt(message, key): | |
| decMessage = "" | |
| for m in message: |
Built with blockbuilder.org
Inspired by @NadiehBremer's Exploring the Art hidden in Pi, implemented in canvas.
Built with blockbuilder.org
forked from sxywu's block: Art in Pi, Experiment #1
forked from sxywu's block: Art in Pi, Experiment #2