profile
viewpoint

CodingTrain/website 4190

Coding Train website

CodingTrain/Toy-Neural-Network-JS 312

Neural Network JavaScript library for Coding Train tutorials

cvalenzuela/Mappa 233

A canvas wrapper for Maps 🗺 🌍

lmccart/itp-creative-js 143

Repository for Creative JavaScript at NYU ITP, Spring 2014

ml5js/Intro-ML-Arts-IMA 108

Syllabus for Introduction to Machine Learning for the Arts at IMA / Tisch / NYU.

golanlevin/circle-morphing 101

Interpolations from a circle to a triangle in p5.js

CodingTrain/Rainbow-Poem 94

This is a repo for my poem.

CodingTrain/Code-of-Conduct 51

This is a Code of Conduct for the Coding Train community.

ITPNYU/ICM-2018 48

Syllabus for ITP Foundation Course Introduction to Computational Media, Fall 2018

issue closedprocessing/p5.js

createVector() reference example clarity

Most appropriate sub-area of p5.js?

  • Math

Feature enhancement details:

Hi! I'm teaching about p5.Vector in my course this semester and students were confused by the example provided with the reference for createVector().

  pointLight(color(255), createVector(sin(millis() / 1000) * 20, -40, -10));

Since it involves WEBGL, sin(), and millis() it's difficult to parse out what the vector is actually doing. I would like to propose something simpler with a more direct visual. For example:

example (1)

function setup() {
  createCanvas(100, 100);
  let v = createVector(75, 50);
  background(255);
  fill(127);
  ellipse(v.x, v.y, 16);
  line(0, 0, v.x, v.y);
}

Or I'm open to other ideas! If this makes sense I'll make a pull request.

closed time in a day

shiffman

issue commentprocessing/p5.js

createVector() reference example clarity

Oh, hah, indeed! The issue I'm guessing was filed by @hellonearthis after I showed the page during a live stream. . I noted to myself to file an issue and the internet is just much faster than me! I'll close this and follow-up can be in #4285. Feel free to use my example code above @aajaggi if you like!

shiffman

comment created time in a day

issue openedprocessing/p5.js

createVector() reference example clarity

Most appropriate sub-area of p5.js?

  • Math

Feature enhancement details:

Hi! I'm teaching about p5.Vector in my course this semester and students were confused by the example provided with the reference for createVector().

  pointLight(color(255), createVector(sin(millis() / 1000) * 20, -40, -10));

Since it involves WEBGL, sin(), and millis() it's difficult to parse out what the vector is actually doing. I would like to propose something simpler with a more direct visual. For example:

example (1)

function setup() {
  createCanvas(100, 100);
  let v = createVector(75, 50);
  background(255);
  fill(127);
  ellipse(v.x, v.y, 16);
  line(0, 0, v.x, v.y);
}

Or I'm open to other ideas! If this makes sense I'll make a pull request.

created time in a day

push eventnature-of-code/noc-syllabus-S20

shiffman

commit sha 0ca13e385d900619ada8e67fac997a6f88bdc206

week 4 updates

view details

Daniel Shiffman

commit sha 403ce0c365e08bf22823fbb546edf800e3c285be

Merge pull request #8 from nature-of-code/week4 Week 4 Syllabus updates

view details

push time in a day

PR merged nature-of-code/noc-syllabus-S20

Week 4 Syllabus updates

in preparation for class tomorrow...

+4 -1

0 comment

1 changed file

shiffman

pr closed time in a day

GollumEvent
GollumEvent
GollumEvent
GollumEvent

PR opened nature-of-code/noc-syllabus-S20

Week 4 Syllabus updates

in preparation of class tomorrow...

+4 -1

0 comment

1 changed file

pr created time in 2 days

create barnchnature-of-code/noc-syllabus-S20

branch : week4

created branch time in 2 days

Pull request review commentgooglecreativelab/teachablemachine-community

fix for a memory leak

 Open up the code snippet below directly in the [p5.js Web Editor](https://editor   function classifyVideo() {     flippedVideo = ml5.flipImage(video)     classifier.classify(flippedVideo, gotResult);+    flippedVideo.remove();

Oh, thanks for catching this! @joeyklee I wonder if there is a more elegant way for us to handle this on the ml5 side?

AliKarpuzoglu

comment created time in 3 days

issue openedCodingTrain/Rainbow-Topics

GPT-2 Poetry

Ideas for love/valentine themed datasets? GPT-2 training is in alpha in Runway so I could maybe show this in between Nature of Code segments!

created time in 6 days

issue commentCodingTrain/Rainbow-Topics

Rhodonea Curve

I think this matches this video? https://youtu.be/f5QBExMNB1I

ilayws

comment created time in 6 days

push eventnature-of-code/noc-syllabus-S20

Daniel Shiffman

commit sha 5af530d99b0e3976d7efdddf1e026d1d9859fabf

Update README.md

view details

push time in 6 days

create barnchshiffman/noc-homework-week3

branch : master

created branch time in 7 days

created repositoryshiffman/noc-homework-week3

This is just a demonstration

created time in 7 days

pull request commentml5js/ml5-library

[Community] Adds community statement to Console log

Wonderful, thank you @joeyklee! 💖

joeyklee

comment created time in 8 days

GollumEvent
GollumEvent

push eventnature-of-code/noc-syllabus-S20

shiffman

commit sha 9d9f9717a515c9e8bf4cec1e270e419042934485

week 3 updates

view details

Daniel Shiffman

commit sha 634215db9f2f8428ea9eed7cd308417796d8514c

Merge pull request #7 from nature-of-code/week3 week 3 updates

view details

push time in 9 days

create barnchnature-of-code/noc-syllabus-S20

branch : week3

created branch time in 9 days

GollumEvent
GollumEvent
GollumEvent

push eventnature-of-code/noc-book-2

shiffman

commit sha 8d0e2e9898ed48eb91f1b373760280e451e3e5fd

rewrites up until section 3.3

view details

shiffman

commit sha da138be1eed90b66477a62630611889197feebdb

edits up until section 3.7

view details

shiffman

commit sha 8a708ddf9a33b1ba4f7883911f09f1bf3ab3db56

edits up until 3.10

view details

shiffman

commit sha 2d39c63367906ac176ad08718dac550df7beaeb7

finish chapter 3 edits

view details

Daniel Shiffman

commit sha 383650de2ec6d8e441509f7ae6071ee23ef2008c

ellipse -> circle I might want to apply this more globally across the book and examples see #73

view details

Daniel Shiffman

commit sha 25854d2d94d3d1d9cdb40cda836765f3396834a3

Merge pull request #74 from nature-of-code/chapter3-oscillation-shiffman-edits Chapter 3 Rewrites and Edits

view details

push time in 9 days

PR merged nature-of-code/noc-book-2

Chapter 3 Rewrites and Edits chp3-oscillation

In progress, so far nothing significant. Includes the addition of angleMode() and a new exercise.

+410 -430

3 comments

1 changed file

shiffman

pr closed time in 9 days

pull request commentnature-of-code/noc-book-2

Chapter 3 Rewrites and Edits

Adjusted ellipse() to circle() and merging these changes to render a PDF for class!

shiffman

comment created time in 9 days

push eventnature-of-code/noc-book-2

Daniel Shiffman

commit sha 383650de2ec6d8e441509f7ae6071ee23ef2008c

ellipse -> circle I might want to apply this more globally across the book and examples see #73

view details

push time in 9 days

pull request commentCodingTrain/website

Add contribution to CC 103

oh what a great idea thank you!!!

edorfaus

comment created time in 9 days

PR opened CodingTrain/website

edits edits edits

The sun out is, the birds are chirping, it's a beautiful day to code a generative algorithm. Choo choo!

+1 -1

0 comment

1 changed file

pr created time in 11 days

create barnchCodingTrain/website

branch : shiffman-patch-1

created branch time in 11 days

push eventCodingTrain/website

Violet

commit sha 7e09a17a90d87023b9cd9716ed42f2af653e3d6a

Adding Page for Hilbert Curve Video (#2087) * Adding Page for Hilbert Curve Video * ci fix * adding video id and adjusting the description * changing to 512x512 to ease the burden on the browser * removing line break * code formatting * this should do it! Co-authored-by: Daniel Shiffman <daniel.shiffman@gmail.com> Co-authored-by: Nico Finkernagel <nico@gruselhaus.com>

view details

push time in 12 days

PR merged CodingTrain/website

Adding Page for Hilbert Curve Video

Starting pull request for Hilbert Curve video. Still needs the final video id (also needs to be added to comment in the web editor). Also possibly a better description.

+217 -0

1 comment

4 changed files

violetcraze

pr closed time in 12 days

push eventvioletcraze/website-1

Daniel Shiffman

commit sha 129a08e9afeb2a7e385c0aa5e351d7c26d936803

this should do it!

view details

push time in 12 days

push eventvioletcraze/website-1

Daniel Shiffman

commit sha c7ac1b88b9bf0dec707e999f33cbf7a09034a88d

code formatting

view details

push time in 12 days

push eventvioletcraze/website-1

Daniel Shiffman

commit sha 9522f43523e4f377491cde165953f2016e726121

removing line break

view details

push time in 12 days

push eventvioletcraze/website-1

Daniel Shiffman

commit sha fa7f27c4d485d5b8a09f4068a39812026e3df8e5

changing to 512x512 to ease the burden on the browser

view details

push time in 12 days

push eventvioletcraze/website-1

Daniel Shiffman

commit sha 1d7cc9bfd6f9d05aa4c67d007929e52c3c8cddb7

adding video id and adjusting the description

view details

push time in 12 days

push eventCodingTrain/website

Daniel Shiffman

commit sha 9cd9edf9fbd3e9a11aed39f675935ceb4be43f9f

Update index.md

view details

push time in 13 days

PR opened CodingTrain/website

Changing the language on the cabana page

(Not sure exactly what should go here but this is a little improvement I think.)

<!-- Thank you for contributing to The Coding Train website!

This is a template to get more information about your pull request. To check any option, replace the "[ ]" with a "[x]". Be sure to check out how it looks in the preview tab! Feel free to remove all or any portion of the template that is not relevant, as it is mainly designed for community contributions.

You can see the guide at: https://thecodingtrain.com/Guides/community-contribution-guide.html. -->

Community Contribution

Link to live project, video, or image: <!-- Insert a link here. This makes it easier to see what is being added to the site. -->

Sharing

  • [ ] I would be happy to have my project shared on The Coding Train's social media!

<!-- If you would like us to tag you in any posts about your work please include your handle below. -->

Instagram:

Twitter:

+1 -1

0 comment

1 changed file

pr created time in 13 days

create barnchCodingTrain/website

branch : shiffman-patch-1

created branch time in 13 days

GollumEvent
GollumEvent

push eventnature-of-code/noc-book-2

Nico Finkernagel

commit sha 5914456738e78b869d3dd7ac397b7a8bd399170e

Fixing constructor name of Example 1.6

view details

Daniel Shiffman

commit sha adefe51142a1710352afe95e1cd37a2d448e551b

Merge pull request #90 from gruselhaus/source Fixing constructor name of Example 1.6

view details

push time in 15 days

PR merged nature-of-code/noc-book-2

Reviewers
Fixing constructor name of Example 1.6

As discussed in https://discordapp.com/channels/276096133695143936/672092602115424308/674362998542041088

+2 -2

1 comment

1 changed file

gruselhaus

pr closed time in 15 days

pull request commentnature-of-code/noc-book-2

Fixing constructor name of Example 1.6

Thank you!

gruselhaus

comment created time in 15 days

issue commentOpen-Source-Studio-at-ITP/Syllabus

Funding?

Wonderful, thank you!!

shiffman

comment created time in 15 days

push eventnature-of-code/noc-syllabus-S20

shiffman

commit sha 06dd3b0ebaac6a279a08f84fdac0d8826b962a80

minor updates to week 2 syllabus

view details

Daniel Shiffman

commit sha 9e3e566691e39d0dbcf23acfb79321f18827fb53

Merge branch 'source' into week2-updates

view details

Daniel Shiffman

commit sha b77ef72eb30c1edba7565a93f3f6c8a267011ee0

Merge pull request #5 from nature-of-code/week2-updates minor updates to week 2 syllabus

view details

push time in 15 days

push eventnature-of-code/noc-syllabus-S20

shiffman

commit sha ced5f5defd6d3775ee644b2ab6b6efaba78a1787

hosting opensimplexnoise.js

view details

Daniel Shiffman

commit sha 5630ecd20bbb58c282b98b6e2c27dadb1138403a

Merge pull request #6 from nature-of-code/opensimplexnoise hosting opensimplexnoise.js

view details

push time in 16 days

PR merged nature-of-code/noc-syllabus-S20

hosting opensimplexnoise.js

For discussion in class tomorrow!

+3694 -0

0 comment

1 changed file

shiffman

pr closed time in 16 days

PR opened nature-of-code/noc-syllabus-S20

hosting opensimplexnoise.js

For discussion in class tomorrow!

+3694 -0

0 comment

1 changed file

pr created time in 16 days

create barnchnature-of-code/noc-syllabus-S20

branch : opensimplexnoise

created branch time in 16 days

GollumEvent
GollumEvent
GollumEvent
GollumEvent
GollumEvent
GollumEvent

push eventnature-of-code/noc-syllabus-S20

Daniel Shiffman

commit sha 726ef96ac0153db6c72ead2f5a6609e5890b9ca2

Update README.md

view details

Daniel Shiffman

commit sha d70dad70bb00dc713159d100a14ca1fa84e5c329

Update README.md

view details

Daniel Shiffman

commit sha 9e3e566691e39d0dbcf23acfb79321f18827fb53

Merge branch 'source' into week2-updates

view details

push time in 16 days

create barnchnature-of-code/noc-syllabus-S20

branch : week2-updates

created branch time in 16 days

issue openednature-of-code/noc-book-2

relationship between mass and radius

Noting that in my examples I just use a multiplier to tie radius to mass.

    this.radius = mass * 8;

Another, perhaps more accurate, way to approach this would be to consider surface area as corresponding to mass which would involve taking the square root (area = πr²).

    this.radius = sqrt(mass) * 8;

This would need to be addressed in the text and examples.

created time in 16 days

push eventnature-of-code/noc-syllabus-S20

Daniel Shiffman

commit sha d70dad70bb00dc713159d100a14ca1fa84e5c329

Update README.md

view details

push time in 16 days

push eventnature-of-code/noc-book-2

shiffman

commit sha 1970dfc62b9bc1d47be60f81fe98d3aadaab8e69

edits up until section 2.5

view details

shiffman

commit sha 54b9b8416567e43718d49aa577664d2faf35cea5

edits up to ch02 ex02

view details

shiffman

commit sha 3a018917bb591b8b262227adb6af606176a266e4

rewrite friction section, just one circle, contact with edge

view details

shiffman

commit sha c73f1a3517a5aeda2e451b2e49e0a9e4fdd10def

drag force section rewrite

view details

shiffman

commit sha cc0e2e44666c0bbe34e405371b13532753ebd078

finishing round of edits to chapter 2

view details

Daniel Shiffman

commit sha a899c568c9d235fded8047cb7a0f845ecbd6f6b3

Merge pull request #63 from nature-of-code/chapter2-forces-shiffman-edits Chapter 2 Rewrites and Edits

view details

push time in 16 days

PR merged nature-of-code/noc-book-2

Reviewers
Chapter 2 Rewrites and Edits chp2:forces

So far I've edited up until section 2.5

+694 -680

5 comments

1 changed file

shiffman

pr closed time in 16 days

pull request commentnature-of-code/noc-book-2

Chapter 2 Rewrites and Edits

I'm returning to this and rendering new chapter PDFs for the spring 2020 course each week, yay! I think we had a process before where we were still reviewing these, but for expediency I am going to merge and complete future edits in a new branch.

shiffman

comment created time in 16 days

issue closednature-of-code/noc-syllabus-S20

Broken Links

The links in this line are broken:

"Plot an "orchestra" of instruments on an XY plane and move a melody through it like: Rite of Spring or Bolero" are broken.

closed time in 16 days

zkobrinsky

issue commentnature-of-code/noc-syllabus-S20

Broken Links

Thank you! I removed the links for now.

zkobrinsky

comment created time in 16 days

GollumEvent
GollumEvent
GollumEvent

pull request commentCodingTrain/Rainbow-Topics

updating old readme

Thanks for these @violetcraze!

violetcraze

comment created time in 16 days

GollumEvent
GollumEvent
GollumEvent
GollumEvent
GollumEvent
GollumEvent
GollumEvent

pull request commentprocessing/p5.js-web-editor

Script to fetch ml5 examples from Github Repo

Hey @joeyklee and @catarak! I was thinking of porting this script to work with my Nature of Code example for the course this spring. Sorry if I missed some more recent updates, does it make sense for me to do so or would you advise a different solution? Thank you!

joeyklee

comment created time in 24 days

push eventnature-of-code/noc-syllabus-S20

Daniel Shiffman

commit sha 726ef96ac0153db6c72ead2f5a6609e5890b9ca2

Update README.md

view details

push time in 25 days

push eventnature-of-code/noc-syllabus-S20

shiffman

commit sha 2f68cfec65986d8090461f92624ee061329a68b2

slides and book draft, NYU visible only

view details

shiffman

commit sha 48a0e437cee145798fa776a8b2ff81dbe455bb33

Merge branch 'source' of github.com:nature-of-code/noc-syllabus-S20 into source

view details

push time in 25 days

push eventnature-of-code/natureofcode.com

Daniel Shiffman

commit sha 7f94ef69b43af9ceb6ad6e674f20403c38cfbb32

changing quote for introduction

view details

Daniel Shiffman

commit sha 3b8b6b112fafbc92aa27c516ca8e49130b946d6a

Merge pull request #31 from nature-of-code/shiffman-patch-1 Introduction Quote

view details

push time in 25 days

PR merged nature-of-code/natureofcode.com

Introduction Quote

I am changing the quotes throughout the book and in the interim before I am able to update the website through an automated process, I am just manually changing this one here.

+3 -4

0 comment

1 changed file

shiffman

pr closed time in 25 days

PR opened nature-of-code/natureofcode.com

Introduction Quote

I am changing the quotes throughout the book and in the interim before I am able to update the website through an automated process, I am just manually changing this one here.

+3 -4

0 comment

1 changed file

pr created time in 25 days

create barnchnature-of-code/natureofcode.com

branch : shiffman-patch-1

created branch time in 25 days

push eventnature-of-code/noc-book-2

shiffman

commit sha f2016e2187f6bb5208916cefda373aeaafb4057e

updating dependencies according to npm audit fix

view details

Daniel Shiffman

commit sha a2be08ef9e3fce3b40c6e2c152ddbf46811d22f4

Merge pull request #86 from nature-of-code/npm-audit-fix Updating dependencies according to npm audit fix

view details

push time in 25 days

PR merged nature-of-code/noc-book-2

Updating dependencies according to npm audit fix

After running:

$ npm audit fix
+13 -6

0 comment

2 changed files

shiffman

pr closed time in 25 days

PR opened nature-of-code/noc-book-2

Updating dependencies according to npm audit fix

After running:

$ npm audit fix
+13 -6

0 comment

2 changed files

pr created time in 25 days

push eventnature-of-code/noc-book-2

shiffman

commit sha f2016e2187f6bb5208916cefda373aeaafb4057e

updating dependencies according to npm audit fix

view details

push time in 25 days

create barnchnature-of-code/noc-book-2

branch : npm-audit-fix

created branch time in 25 days

push eventnature-of-code/noc-syllabus-S20

Daniel Shiffman

commit sha f512e7e9a1213fd1868a3f69978cc023d1824f21

Create CODE_OF_CONDUCT.md

view details

Daniel Shiffman

commit sha f4a14910cd7e6bf1fc8b0b6b64f53fd752a36427

adding draft text of code of conduct

view details

shiffman

commit sha cdd45d510c4174d44dfa3778d03edda800bc1ec4

link to CoC

view details

Daniel Shiffman

commit sha 0107e0de2e8d18a7e2d1f3c736e6869326f5b019

Merge pull request #3 from nature-of-code/code-of-conduct Create CODE_OF_CONDUCT.md

view details

push time in 25 days

pull request commentnature-of-code/noc-syllabus-S20

Create CODE_OF_CONDUCT.md

I see this Code of Conduct as a working draft, suggestions and comments welcome and encouraged. I am merging this version now in anticipation of class beginning next Tuesday, Jan 27.

shiffman

comment created time in 25 days

push eventnature-of-code/noc-syllabus-S20

shiffman

commit sha cdd45d510c4174d44dfa3778d03edda800bc1ec4

link to CoC

view details

push time in 25 days

more