<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Shaochun Zhou on Medium]]></title>
        <description><![CDATA[Stories by Shaochun Zhou on Medium]]></description>
        <link>https://medium.com/@shaochunzhou?source=rss-f3f17ba66f17------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*khOpr0YIE6ljhhmC.</url>
            <title>Stories by Shaochun Zhou on Medium</title>
            <link>https://medium.com/@shaochunzhou?source=rss-f3f17ba66f17------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 27 Nov 2026 19:34:17 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@shaochunzhou/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Class in python]]></title>
            <link>https://medium.com/data-mining-the-city/class-in-python-f5c832e78955?source=rss-f3f17ba66f17------2</link>
            <guid isPermaLink="false">https://medium.com/p/f5c832e78955</guid>
            <category><![CDATA[research]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Shaochun Zhou]]></dc:creator>
            <pubDate>Thu, 26 Oct 2017 11:53:31 GMT</pubDate>
            <atom:updated>2017-10-26T11:53:31.121Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/996/1*VuQFJxDcHynBihsoBJ69Rg.jpeg" /></figure><p>Based on what I have drawn with slippymapper for crime incidents, I add a class called “title” to write a title for this project in the top-left corner.</p><p>Code:</p><pre>import spatialpixel.mapping.slippymapper as slippymapper<br>import csv<br>from title import *</pre><pre>def setup():<br>    size(1000,800,P2D)<br>    global nyc,marker<br>    <br>    nyc = slippymapper.SlippyMapper(40.775070, -73.970252, 12, &quot;carto-dark&quot;,width,height)<br>    <br>    with open(&#39;data.csv&#39;) as f:<br>        reader = csv.reader(f)<br>        header = reader.next()<br>        <br>        for row in reader:<br>            latitude = float(row[6])<br>            longitude = float(row[7])<br>            nyc.addMarker(latitude,longitude)<br>            <br>    marker = title(width/4,100,&quot;Crime Visualization&quot;)<br>           <br>    nyc.render()<br>    <br>def draw():<br>    global marker<br>    background(255)<br>    nyc.draw()<br>    marker.title()</pre><p>Code for class “title”</p><pre>class title(object):<br>    def __init__(self, x, y, content):<br>        self.x = x<br>        self.y = y<br>        self.content = content<br>        textAlign(CENTER,CENTER)<br>        <br>    <br>    def title(self):<br>        noStroke()<br>        fill(255,0,0)<br>        textSize(20)<br>        text(self.content,self.x,self.y)</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f5c832e78955" width="1" height="1" alt=""><hr><p><a href="https://medium.com/data-mining-the-city/class-in-python-f5c832e78955">Class in python</a> was originally published in <a href="https://medium.com/data-mining-the-city">Data Mining the City</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Slippymapper application]]></title>
            <link>https://medium.com/data-mining-the-city/slippymapper-application-97b2333e510c?source=rss-f3f17ba66f17------2</link>
            <guid isPermaLink="false">https://medium.com/p/97b2333e510c</guid>
            <category><![CDATA[research]]></category>
            <dc:creator><![CDATA[Shaochun Zhou]]></dc:creator>
            <pubDate>Thu, 26 Oct 2017 11:53:16 GMT</pubDate>
            <atom:updated>2017-10-26T11:53:16.696Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/992/1*WY0h8w3LyHzaNNXXIaV8tg.jpeg" /></figure><p>Here I used slippymapper to visualize the crime incidents in Manhattan of one day.</p><p>Code:</p><pre>import spatialpixel.mapping.slippymapper as slippymapper<br>import csv</pre><pre>def setup():<br>    size(1000,800,P2D)<br>    global nyc,marker<br>    <br>    nyc = slippymapper.SlippyMapper(40.775070, -73.970252, 12, &quot;carto-dark&quot;,width,height)<br>    <br>    with open(&#39;data.csv&#39;) as f:<br>        reader = csv.reader(f)<br>        header = reader.next()<br>        <br>        for row in reader:<br>            latitude = float(row[6])<br>            longitude = float(row[7])<br>            nyc.addMarker(latitude,longitude)<br>           <br>    nyc.render()<br>    <br>def draw():<br>    background(255)<br>    nyc.draw()</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=97b2333e510c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/data-mining-the-city/slippymapper-application-97b2333e510c">Slippymapper application</a> was originally published in <a href="https://medium.com/data-mining-the-city">Data Mining the City</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Manhattan Crime Incidents in a Day]]></title>
            <link>https://medium.com/data-mining-the-city/manhattan-crime-incidents-in-a-day-c15ce7bedbfe?source=rss-f3f17ba66f17------2</link>
            <guid isPermaLink="false">https://medium.com/p/c15ce7bedbfe</guid>
            <category><![CDATA[data-visualization]]></category>
            <category><![CDATA[research]]></category>
            <category><![CDATA[session-a-project-2]]></category>
            <dc:creator><![CDATA[Shaochun Zhou]]></dc:creator>
            <pubDate>Fri, 20 Oct 2017 06:09:37 GMT</pubDate>
            <atom:updated>2017-11-06T02:55:42.849Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*-i__9Lh7MyCgKkKodu_O5Q.gif" /></figure><p><strong>Description:</strong></p><p>Do you remember what you were doing on <strong>Thursday, June 1st, 2017</strong>? For me it was only a typical workday of my summer internship. Across New York City a million stories emerge over the course of a single day. This project explores crime incidents across New York City over the course of a single day.</p><h4><strong>354 crime incidents of all categories!</strong></h4><p>I’ve created a crime incident map to visualize where, when and what kind of crime that happened on this single day, to help you protect yourselves from appearing in some place in a certain time of a day.</p><p><strong>Data Source：</strong></p><p>NYPD Complaint Data Current YTD, provided by NYPD, available at: <a href="https://data.cityofnewyork.us/Public-Safety/NYPD-Complaint-Data-Current-YTD/5uac-w243">https://data.cityofnewyork.us/Public-Safety/NYPD-Complaint-Data-Current-YTD/5uac-w243</a></p><p><strong>Code:</strong></p><pre>import spatialpixel.mapping.slippymapper as slippymapper<br>import csv<br>import datetime<br></pre><pre>def setup():<br>    size(1000,800,P2D)<br>    global nyc, latitude, longitude, reader, header, time1, infoList, cacheList, delta, threshold, crimeCat, font1, font2, font3, font4<br>    global cacheInputCounter, cacheOutputCounter, locationCounter, listInitialCounter, infoListOutput<br>    cacheOutputCounter = 0<br>    locationCounter=0<br>    cacheInputCounter = 0<br>    listInitialCounter = 0<br>    infoListOutput = 0<br>    infoList = []<br>    cacheList = []<br>    <br>    font1 = createFont(&quot;Arial Black&quot;,20)<br>    font2 = createFont(&quot;Calibri&quot;,20)<br>    font3 = createFont(&quot;Arial Black&quot;,30)<br>    font4 = createFont(&quot;Arial Black&quot;,20)<br>    <br>    time1 = datetime.datetime(2017,6,1,0,0,0)<br>    threshold = time1 + datetime.timedelta(minutes=60)<br>    defaultday = datetime.datetime(1900,1,1,0,0,0)<br>    delta = time1 - defaultday<br>    <br>    nyc = slippymapper.SlippyMapper(40.775070, -73.970252, 12, &quot;carto-dark&quot;,width,height)<br>    <br>    with open(&#39;data.csv&#39;) as f:<br>        reader = csv.reader(f)<br>        header = reader.next()    <br>        <br>        for row in reader:<br>            infoList.append([])<br>            cacheList.append([])<br>            <br>            latitude = float(row[6])<br>            longitude = float(row[7])<br>            crimeCat = row[2]<br>            tm = datetime.datetime.strptime(row[1],&quot;%X&quot;)<br>            tm = tm + delta</pre><pre>infoList[listInitialCounter] = [latitude,longitude,tm,crimeCat]<br>            cacheList[listInitialCounter] = [1,1,1]</pre><pre>listInitialCounter += 1<br>            <br>    infoList.append([])        <br>    infoList[listInitialCounter] = [1,1,1,1]<br>    <br>    nyc.render()</pre><pre>def draw():<br>    global nyc, time1, threshold, infoList, infoListOutput, cacheInputCounter,cacheOutputCounter, marker<br>    global cacheOutputMax<br>    nyc.draw()<br>    <br>    <br>    while infoList[infoListOutput][2] &lt;&gt; 1 and infoList[infoListOutput][2] &gt;= time1 and infoList[infoListOutput][2] &lt; threshold :<br>    <br>        cacheList[cacheInputCounter][0] = infoList[infoListOutput][0]<br>        cacheList[cacheInputCounter][1] = infoList[infoListOutput][1]<br>        cacheList[cacheInputCounter][2] = infoList[infoListOutput][3]<br>        cacheInputCounter +=1<br>        infoListOutput += 1<br>    <br>        <br>    for cacheOutputCounter in range(len(cacheList)):<br>        if cacheList[cacheOutputCounter][0] &lt;&gt; 1:<br>            fill(255)<br>            ellipse (nyc.lonToX(cacheList[cacheOutputCounter][1]),nyc.latToY(cacheList[cacheOutputCounter][0]),15,15)<br>            cacheOutputMax = cacheOutputCounter<br>            <br>        for cacheMarker in range(cacheOutputMax):<br>            if dist(mouseX,mouseY,nyc.lonToX(cacheList[cacheMarker][1]),nyc.latToY(cacheList[cacheMarker][0])) &lt; 7.5:<br>                textAlign(LEFT)<br>                fill(255,0,0)<br>                text(cacheList[cacheMarker][2],nyc.lonToX(cacheList[cacheMarker][1])+5,nyc.latToY(cacheList[cacheMarker][0]))</pre><pre>marker = Marker(locationCounter, str(time1.strftime(&quot;%H:%M&quot;)),str(threshold.strftime(&quot;%H:%M&quot;)))<br>    marker.timeBar()<br>    <br>    marker.title()<br>    fill(255,0,0)<br>    textAlign(LEFT)<br>    text(&quot;Total Incidents:&quot;+str(infoListOutput),80,180)</pre><pre>def mouseClicked():<br>    global time1, threshold, locationCounter, cacheInputCounter, cacheList, infoListOutput<br>    <br>    for row in xrange(listInitialCounter):<br>        for col in xrange (2):<br>            cacheList[row] = [1,1,1]<br>    <br>    if threshold == datetime.datetime(2017,6,2,0,0,0):<br>        time1 = datetime.datetime(2017,6,1,0,0,0)  <br>        threshold = time1 + datetime.timedelta(minutes=60) <br>        <br>        locationCounter = 0<br>        infoListOutput = 0<br>    <br>    else:<br>        time1 = time1 + datetime.timedelta(minutes=60)<br>        threshold = time1 + datetime.timedelta(minutes=60)<br>        <br>        locationCounter += 1<br>        cacheInputCounter = 0<br>        <br>        <br>class Marker(object):<br>    global font1,font2,font3,font4<br>    def __init__(self, location, content1, content2):<br>        self.location = location<br>        self.content1 = content1<br>        self.content2 = content2<br>        textAlign(CENTER,CENTER)<br>        <br>    <br>    def timeBar(self):<br>        fill(255,0,0)<br>        textSize(10)<br>        stroke(255,0,0)<br>        strokeWeight(5)<br>        textFont(font1)<br>        text(&quot;Time Bar&quot;,140,710)<br>        line(140,700,830,700)<br>        line(140+30*self.location,690,140+30*self.location,700)<br>        textFont(font2)<br>        text(self.content1+&quot;--&quot;+self.content2,140+30*self.location,670)<br>        <br>    def title(self):<br>        noStroke()<br>        fill(255)<br>        textFont(font3)<br>        text(&quot;Manhattan Crime Incidents in a Day&quot;,width/2,50)<br>        textFont(font4)<br>        text(&quot;--Interval: One Hour&quot;,width/2,80)</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c15ce7bedbfe" width="1" height="1" alt=""><hr><p><a href="https://medium.com/data-mining-the-city/manhattan-crime-incidents-in-a-day-c15ce7bedbfe">Manhattan Crime Incidents in a Day</a> was originally published in <a href="https://medium.com/data-mining-the-city">Data Mining the City</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Histogram on earthquake magnitude]]></title>
            <link>https://medium.com/data-mining-the-city/histogram-onearthquake-magnitude-9cd53d9ae23a?source=rss-f3f17ba66f17------2</link>
            <guid isPermaLink="false">https://medium.com/p/9cd53d9ae23a</guid>
            <category><![CDATA[research]]></category>
            <category><![CDATA[week3a]]></category>
            <dc:creator><![CDATA[Shaochun Zhou]]></dc:creator>
            <pubDate>Tue, 26 Sep 2017 19:56:51 GMT</pubDate>
            <atom:updated>2017-09-26T22:47:37.498Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*kjJhxGLYAUyR7jqIHKYMuA.png" /></figure><pre>import csv<br>size(500,500)<br>with open(“quakes.csv”) as f: #any alphabet is ok<br> reader = csv.reader(f)<br> header = reader.next() #skip the header row<br> global magnitudes<br> <br> magnitudes = []<br> for row in reader:<br> magnitude = float(row[4]) #fifth data in every row<br> magnitudes.append(magnitude)<br> <br>background(0)<br>rectMode(CORNER)<br>i=0<br>r0=r1=r2=r3=r4=r5=r6=0<br>for magnitude in magnitudes:<br> if magnitudes[i]&lt;1:<br> r0+=1<br> elif magnitudes[i]&lt;2:<br> r1+=1<br> elif magnitudes[i]&lt;3:<br> r2+=1<br> elif magnitudes[i]&lt;4:<br> r3+=1<br> elif magnitudes[i]&lt;5:<br> r4+=1<br> elif magnitudes[i]&lt;6:<br> r5+=1<br> else:<br> r6+=1<br> i+=1</pre><pre>magnitudecount=[r0,r1,r2,r3,r4,r5,r6]</pre><pre>j=0<br>translate(width/2–80,height/2+50)<br>scale(1,-1)<br>stroke(255)<br>strokeWeight(2)<br>strokeJoin(ROUND)<br>noFill()<br>beginShape()<br>vertex(0,200)<br>vertex(0,0)<br>vertex(200,0)<br>endShape()<br>fill(255)<br>strokeWeight(0)<br>for j in range(7):<br> rect(j*20,0,19,magnitudecount[j])<br> <br>scale(1,-1)<br>text(“0”,-11,12)<br>text(“50”,-16,-50)<br>text(“100”,-21,-100)<br>text(“&lt;1”,2,12)<br>text(“&lt;2”,22,12)<br>text(“&lt;3”,42,12)<br>text(“&lt;4”,62,12)<br>text(“&lt;5”,82,12)<br>text(“&lt;6”,102,12)<br>text(“&gt;=6”,122,12)<br>text(“Richter”,160,12)<br>rotate(PI/2*3)<br>text(“Count”,170,-3)</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9cd53d9ae23a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/data-mining-the-city/histogram-onearthquake-magnitude-9cd53d9ae23a">Histogram on earthquake magnitude</a> was originally published in <a href="https://medium.com/data-mining-the-city">Data Mining the City</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Interactive alien]]></title>
            <link>https://medium.com/data-mining-the-city/interactive-alien-7b36d8670f98?source=rss-f3f17ba66f17------2</link>
            <guid isPermaLink="false">https://medium.com/p/7b36d8670f98</guid>
            <category><![CDATA[research]]></category>
            <category><![CDATA[week3a]]></category>
            <dc:creator><![CDATA[Shaochun Zhou]]></dc:creator>
            <pubDate>Tue, 26 Sep 2017 19:49:43 GMT</pubDate>
            <atom:updated>2017-09-26T22:53:42.455Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/200/1*pDNZ_ixwm9qPDZpUoMQplw.gif" /></figure><p>I’ve made some adjustments to the alien from last week’s assignment. When you move the mouse to somewhere close to its decayed tooth, it will nervously move his hand to hold the mouth! And the kaomoji in the upper right corner will reflect its unpleasantness as well.</p><pre>def setup():<br>    size(200,200)<br>    background(200)<br>  <br>    <br>def draw():<br>    mouthleftedge=90<br>    mouthrightedge=110<br>    mouthupperedge=76<br>    mouthloweredge=84</pre><pre>if mouseX &gt;= mouthleftedge-10 and mouseX &lt;= mouthrightedge+10 and mouseY&gt;=mouthupperedge-10 and mouseY&lt;=mouthloweredge+10 :<br>        strokeWeight(1)<br>        background(200)<br>       <br>        #this is the body<br>        fill(255)<br>        stroke(0)<br>        rectMode(CENTER)<br>        rect(width/2,height/2,20,height/2)<br>        <br>        #this is the head<br>        ellipseMode(CENTER)<br>        ellipse(width/2,78,40,40)<br>        ellipse(width/2,60,60,60)<br>        stroke(255)<br>        ellipse(width/2,80,37,26)<br>        <br>        #this how the eyes are drawn<br>        eyeWidth=20<br>        eyeHeight=30<br>        eyeballDiameter=10<br>        stroke(0)<br>        ellipse(width/2-15,60,eyeWidth,eyeHeight)<br>        ellipse(width/2+15,60,eyeWidth,eyeHeight)<br>        fill(0)<br>        ellipse(width/2-15,50,eyeballDiameter,eyeballDiameter)<br>        ellipse(width/2+15,50,eyeballDiameter,eyeballDiameter)<br>        <br>        #this is the mouth<br>        noFill()<br>        stroke(0)<br>        strokeWeight(2)<br>        curve(60,120,90,82,110,82,140,120)<br>        <br>        #these are the legs<br>        stroke(0)<br>        strokeWeight(1)<br>        line(90,150,60,180)<br>        line(110,150,140,180)<br>        <br>        #these are the hands<br>        strokeJoin(ROUND)<br>        beginShape()<br>        vertex(90,100)<br>        vertex(70,90)<br>        vertex(100,80)<br>        endShape()<br>        beginShape()<br>        vertex(110,100)<br>        vertex(130,90)<br>        vertex(100,80)<br>        endShape()</pre><pre>#kaomoji<br>        noFill()<br>        strokeWeight(5)<br>        strokeJoin(ROUND)<br>        beginShape()<br>        vertex(160,60)<br>        vertex(175,70)<br>        vertex(160,80)<br>        endShape()<br>        beginShape()<br>        vertex(200,60)<br>        vertex(185,70)<br>        vertex(200,80)<br>        endShape()<br>        line(170,85,190,85)<br>        <br>    else:<br>        background(200)<br>       <br>        #this is the body<br>        stroke(0)<br>        rectMode(CENTER)<br>        rect(width/2,height/2,20,height/2)<br>        #this is the head<br>        ellipseMode(CENTER)<br>        ellipse(width/2,78,40,40)<br>        ellipse(width/2,60,60,60)<br>        stroke(255)<br>        ellipse(width/2,80,37,26)<br>       <br>        #these are arms and legs<br>        stroke(0)<br>        line(90,150,60,180)<br>        line(110,150,140,180)<br>        line(90,100,50,80)<br>        line(110,100,150,80)<br>        <br>        #this how the eyes are drawn<br>        eyeWidth=20<br>        eyeHeight=30<br>        eyeballDiameter=10<br>        stroke(0)<br>        ellipse(width/2-15,60,eyeWidth,eyeHeight)<br>        ellipse(width/2+15,60,eyeWidth,eyeHeight)<br>        fill(0)<br>        ellipse(width/2-15,60,eyeballDiameter,eyeballDiameter)<br>        ellipse(width/2+15,60,eyeballDiameter,eyeballDiameter)<br>      <br>        #mouth and teeth<br>        fill(255)<br>        rect(100,80,20,8)<br>        line(90,80,110,80)<br>        line(95,76,95,84)<br>        line(100,76,100,84)<br>        line(105,76,105,84)<br>        fill(0)<br>        rectMode(CORNERS)<br>        rect(100,76,105,80)<br>        <br>        #kaomoji<br>        noFill()<br>        strokeWeight(5)<br>        strokeJoin(ROUND)<br>        beginShape()<br>        vertex(160,60)<br>        vertex(175,70)<br>        vertex(160,80)<br>        endShape()<br>        beginShape()<br>        vertex(200,60)<br>        vertex(185,70)<br>        vertex(200,80)<br>        endShape()<br>        triangle(172,80,188,80,180,93)<br>        <br>    #this is the hat<br>    strokeWeight(1)<br>    fill(255)<br>    ellipse(100,30,120,20)<br>    ellipse(100,22,40,30)<br>    stroke(255)<br>    ellipse(100,30,60,19)<br>    stroke(255)</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7b36d8670f98" width="1" height="1" alt=""><hr><p><a href="https://medium.com/data-mining-the-city/interactive-alien-7b36d8670f98">Interactive alien</a> was originally published in <a href="https://medium.com/data-mining-the-city">Data Mining the City</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Draw an alien with Python in Processing]]></title>
            <link>https://medium.com/data-mining-the-city/draw-an-alien-with-python-in-processing-d1a117aeea05?source=rss-f3f17ba66f17------2</link>
            <guid isPermaLink="false">https://medium.com/p/d1a117aeea05</guid>
            <category><![CDATA[processing]]></category>
            <category><![CDATA[research]]></category>
            <category><![CDATA[week2a]]></category>
            <dc:creator><![CDATA[Shaochun Zhou]]></dc:creator>
            <pubDate>Sun, 17 Sep 2017 20:31:18 GMT</pubDate>
            <atom:updated>2017-09-22T03:01:32.579Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/200/1*d409LNFx8F2HIAdSdUsoxA.png" /></figure><p>Hi, this is the product of week 2 tutorial. I plan to draw a simple image of an alien wearing a hat. Let’s make fun of this weird creature lol.</p><pre>size(200,200)</pre><pre>#this is the body<br>rectMode(CENTER)<br>rect(100,100,20,100)</pre><pre>#this is the head<br>ellipseMode(CENTER)<br>stroke(0)<br>ellipse(100,78,40,40)<br>ellipse(100,60,60,60)<br>stroke(255)<br>ellipse(100,80,37,26)</pre><pre>#this how the eyes are drawn<br>dict = {}<br>dict[&#39;eye&#39;]={&#39;eyeWidth&#39;:20,&#39;eyeHeight&#39;:30}<br>dict[&#39;eyeball&#39;]={&#39;eyeballDiameter&#39;:10}<br>stroke(0)<br>ellipse(85,60,dict[&#39;eye&#39;][&#39;eyeWidth&#39;],dict[&#39;eye&#39;][&#39;eyeHeight&#39;])<br>ellipse(115,60,dict[&#39;eye&#39;][&#39;eyeWidth&#39;],dict[&#39;eye&#39;][&#39;eyeHeight&#39;])<br>fill(0)<br>ellipse(85,60,dict[&#39;eyeball&#39;][&#39;eyeballDiameter&#39;],dict[&#39;eyeball&#39;][&#39;eyeballDiameter&#39;])<br>ellipse(115,60,dict[&#39;eyeball&#39;][&#39;eyeballDiameter&#39;],dict[&#39;eyeball&#39;][&#39;eyeballDiameter&#39;])</pre><pre>#this is the mouth and teeth<br>fill(255)<br>rect(100,80,20,8)<br>line(90,80,110,80)<br>line(95,76,95,84)<br>line(100,76,100,84)<br>line(105,76,105,84)</pre><pre>#decayed tooth<br>fill(0)<br>rectMode(CORNERS)<br>rect(100,76,105,80)</pre><pre>#these are arms and legs<br>line(90,150,60,180)<br>line(110,150,140,180)<br>line(90,100,50,80)<br>line(110,100,150,80)</pre><pre>#this is the hat<br>fill(255)<br>ellipse(100,30,120,20)<br>ellipse(100,22,40,30)<br>stroke(255)<br>ellipse(100,30,60,19)<br>stroke(255)</pre><pre>#this is the exclamation mark<br>ellipse(180,60,12,40)<br>ellipse(180,90,10,10)</pre><pre>#save as image<br>saveFrame(&quot;aline.png&quot;)</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d1a117aeea05" width="1" height="1" alt=""><hr><p><a href="https://medium.com/data-mining-the-city/draw-an-alien-with-python-in-processing-d1a117aeea05">Draw an alien with Python in Processing</a> was originally published in <a href="https://medium.com/data-mining-the-city">Data Mining the City</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Churches in NYC]]></title>
            <link>https://medium.com/@shaochunzhou/churches-around-columbia-386855250239?source=rss-f3f17ba66f17------2</link>
            <guid isPermaLink="false">https://medium.com/p/386855250239</guid>
            <category><![CDATA[research]]></category>
            <dc:creator><![CDATA[Shaochun Zhou]]></dc:creator>
            <pubDate>Thu, 07 Sep 2017 00:16:59 GMT</pubDate>
            <atom:updated>2017-09-07T00:17:38.534Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*lYjjD9M2z-lPSSk3PtoUyg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*YPqcScwRsK8qE-kOrUUClQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*PQ8I0oJruVxDg9MhAXev2w.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*SSscgRtT8q6rKld_UVNgNQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*sIWLloNR7FYvP8IJfZUveg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*ecjWm8yzW47seQKOts-mZw.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*Mqyohm8cTxCqFTMwbmaXqA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*YcG96UlNZdc1y6zHyGY4Rw.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*sDWrs7-hGJBYKuJh_TZctw.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*2_9TOztgadgBRVcEP5FKJQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*qBGBBdKCkpyMU7PP1tK9nQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*LAPGlLm-wUr5gUS-06CR-A.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*tcnIymGBikdbtpVovE4wRg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*69RjPwhX1FZr8tlYH1w7LA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*n9CXWLq5HL3EfMoyxzFNKA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*tGBwwV-hyLjDXgowBf2ZXg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*I2GkrUonspBO32x0kMTrKA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*emzM-IMBPsJ_OO-tz90Zrw.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*kg-vAtZ9rumqyqjSocZbHw.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*bzKnv2f1N9nh1maIMM7klg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*tcnIymGBikdbtpVovE4wRg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*69RjPwhX1FZr8tlYH1w7LA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*n9CXWLq5HL3EfMoyxzFNKA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*tGBwwV-hyLjDXgowBf2ZXg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*tF0flxcvCZB5Y__78EqGQg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*s_uQfd8f7WnnbZy6r89zrA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*VGIUnxNl9_SICgFKuvu9ow.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*7_S7ExMfgNjHjH_T9ilh2w.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*OPdNMS2AB5QfGh0u0gk08Q.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*TtAv7b6HA7wx0dj-nXRjaA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*FDyAtljxtTT6xejubYcDeg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*0R8a4J84RDVQLwbCciBYog.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*EjJLbDyXNjgAFIa3nELPlQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*9AsorJfB8DIPHLTx0bPJJw.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*I_kNM8zJPSt2YgQ-bS9yFQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*yktoBlrCzESRmdQxBetCKg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*_ep7jH9rKGXMZMUoM-O7WQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*06U1lnXMct0DDZEy0EIOXg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*eudl_V7cpTpKs39Xtn1bmQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*Yg3ug_6NLDUKqcuWFfV1fA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*Vw18DBwUB1h7qrkQ3Das6g.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*3kUhFED9kXdvbSGn0KXylQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*PyDT3l-6GuLPKbHIGmfBGQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*2KOiT1ZqZ07TLx4iqZVvBg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*BlJ0S0MTQqC5XaJ704XI5A.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*K25sMeM-4VtdMOp09WEI0A.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*-h0h4nWrOftv4jD6QmgeJA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*UTYx4OF0vSTZfPQiTM36Ww.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*nX_Rnlp8LABVJhk8oKtbmg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*uYPkasRAKzw_Ncg7OKf7RA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*4HQMiN0-k6_0wl9J6dkOpQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*iaRXOK68txc6im_V7Tp64g.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*sWLyE2Jfvz9AICJqt7NFjA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*O8KtHfbsCLEjHgJ0yVKQ2A.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*QmnpUbVcAWEiPgdN2No-DQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*DektLwjNEYdEN-kumUXUPQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*sDWrs7-hGJBYKuJh_TZctw.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*2_9TOztgadgBRVcEP5FKJQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*qBGBBdKCkpyMU7PP1tK9nQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*LAPGlLm-wUr5gUS-06CR-A.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*h_v5igBKQATKGG29OUn6kg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*PZAHvzV7umEis5aNdSMCow.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*Fx8IvZj6TdImHq3dkuqing.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*-RpalnUha10qWERGTIZmjQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*sWLyE2Jfvz9AICJqt7NFjA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*O8KtHfbsCLEjHgJ0yVKQ2A.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*QmnpUbVcAWEiPgdN2No-DQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*DektLwjNEYdEN-kumUXUPQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*V5qsw4FKPbIh_C-Y3uTucg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*CVCvQRumZfyQlUfUCkGm_w.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*9R8o4qqWZC7_Nubggw-9Bg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*xUt7kC6p3NuV8IBx0rma4w.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=386855250239" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>