#100DaysOfCode day 5:
Started Caleb Curry's #Rust course part 2, learning about enums, traits and other types.

Also played a little more with #P5js and #NatureOfCode with Dan Shiffman, get my #JavaScript refreshed.

https://youtu.be/XCUOvO1sqIE?si=CrSlnxTvCQkeI6MC

Learn Rust programming - Standard Library, Enums, Traits, Arrays, Vectors, HashMaps

YouTube

Ein Partikelsystem mit Proceso und PyScript

Das kleine Planetensystem mit den rotierenden Kisten, das ich vor etwa einer Woche mit Proceso und PyScript realisiert hatte, erinnerte mich an ein Partikelsystem in zwei Stufen, an dem vor mehr als einem Jahr in microStudio mit Brython versucht hatte. Vor allem, da in der zweiten Stufe die Partikel teilweise ebenfalls rotierende Quadrate waren. https://kantel.github.io/posts/2025072101_partikel_proceso/ #Proceso #Python #PyScript #Processing #NatureOfCode #CreativeCoding

I love Daniel Shiffman and the people porting NOC examples, but their insistence on wrapping everything in classes, and in this particular example, to put them on separate files... Take this L-System example: https://github.com/nature-of-code/noc-2-processing-port/blob/main/chapter8/Example_8_9_LSystem/Example_8_9_LSystem.pde

And the JS original: https://natureofcode.com/fractals/#l-systems (you have to open the p5js editor and click a lot to find the lsystem.js file)

In my view it doesn't help at all learners grasp what is going on to have to switch to two other tabs to look at a few lines of code that could be two functions.

Ignore for a moment it's Python and compare the previous code to these procedural implementations:
https://abav.lugaralgum.com/material-aulas/Processing-Python-py5/LSystem.html

(Now, I take back the "ignore for a moment it's Python", and I suggest you marvel at the elegance of the Python dict)

#natureofcode #Processing #LSystem #Python #JavaScript #ObjectOriented #procedural

noc-2-processing-port/chapter8/Example_8_9_LSystem/Example_8_9_LSystem.pde at main · nature-of-code/noc-2-processing-port

Contribute to nature-of-code/noc-2-processing-port development by creating an account on GitHub.

GitHub
#100DaysOfCode day 20:
Lesson two in the #Algebra and a little #Python for that lesson.
Still working on forces in #NatureOfCode. Today I made a program that applied forces to two different objects with different mass.
#P5JS #JavaScript #Math #CreativeCode #GenerativeArt
#100DaysOfCode day 18:
I finished the chapter bout #Vectors and #VectorMath. And I am happy to be moving forward. Not fully up to "top speed" brain wise, but getting better each day. Sleeping helps a lot.
#NatureOfCode #P5JS #JavaScript #CreativeCode #GenerativeCode
#100DaysOfCode day 17:
Bit of a strange day. I haven't slept very well this past month, so the doctor gave me some sleeping pills, and they were quite strong, so the most of the day I have been in a fog. But I did a section in #NatureOfCode, and some more #Math
#CreativeCode #JavaScript

#!00DaysOfCode day 16:
More #vectorMath and more acceleration for vectors, but still a laugh. Can make me happy for a few hours to something "stupid" on the computer :)

#Math #JavaScript #P5JS #NatureOfCode #CreativeCode #GenerativeArt

https://github.com/mhoumann87/nature_of_code_js

GitHub - mhoumann87/nature_of_code_js

Contribute to mhoumann87/nature_of_code_js development by creating an account on GitHub.

GitHub

#!00DaysOfCode day 15:
Mentally hard day, and to little sleep, but I can divert my thoughts by #coding, so I did the section in #NatureOfCOde about velocity.
#JavaScript #P5JS #CreativeCode #GenerativeArt #Math #vectorMath

https://editor.p5js.org/mhoumann87/sketches/OLq5Mt_I0

9-example-1-7-velocity by mhoumann87 -p5.js Web Editor

A web editor for p5.js, a JavaScript library with the goal of making coding accessible to artists, designers, educators, and beginners.

#100DaysOfCode day 14:
2 sections in #NatureOfCode. Both magnitude and normalize the vector. I am starting to enjoy #Math again. Maybe I should take some courses in higher math, couldn't hurt :)

#Javascript #P5JS #CreativeCode #GenerativeArt

#100DaysOfCode day 13:
A bit to much beer and a little late to sleep last night, so not much done today, but I did continue with some #vectorMath and #NatureOfCode, today it was multiplication.
#Javascript #CreativeCode #GenerativeArt #Math

https://editor.p5js.org/mhoumann87/full/K1p17fPdM

p5.js Web Editor

A web editor for p5.js, a JavaScript library with the goal of making coding accessible to artists, designers, educators, and beginners.