Git Product home page Git Product logo

the-other-mariana / code-journal Goto Github PK

View Code? Open in Web Editor NEW
7.0 2.0 0.0 81.54 MB

Code Journal is a compilation of small ideas that I code in my spare time to have fun and try new things. It includes work with math, fractals and image generation.

License: MIT License

Python 0.13% Mathematica 99.84% TeX 0.03%
mathematica python droplet journal geometric-spiral polar-coordinates fractals sierpinski-triangle

code-journal's Introduction

Code Journal

This repo has small codes and algorithms that I do for fun. Sometimes my brain tries to be nerd.
All entries should soon have a pdf file that explains the idea behind each code.

Content

An intuitive equation to create a water drop form, written in Mathematica. The pdf shows the pipeline.

alt text

Entry 002 Line Flowers

Some program in Python that makes random flowers. The pdf shows the pipeline.

alt text

Some program in Python that implements a line function to paint a straight line from point to point inside an image. The pdf shows the pipeline.

alt text

Small Mathematica notebook that creates a worm-like animation in a .mov file. The preview output is the following.

alt text

Script in Python that creates a flower-like torus object in Autodesk Maya. The pdf shows the overall algorithm.

alt text

Some program in Python that draws an exact regular polygon spiral image, importing my custom line module from Entry 003. The pdf shows the pipeline and mathematical analysis to make it exact for any polygon. I had so much fun.

alt text

Entry 007 Fractal Tree

Some program in Python that draws a simple fractal tree, importing my custom line module from Entry 003. A sample output I got was the following.

alt text

Program in Python that draws a Sierpinski Triangle fractal, importing my custom line module from Entry 003. The pdf file explains the logic followed.

alt text

Program in Python that draws a Koch Snowflake fractal, importing my custom line module from Entry 003. The pdf shows the algorithm followed.

alt text

Program in Python that, given a string, finds the length of the longest substring without repeating characters.

Output

Input: "awwebbz"
Output: 3	// "web"

Program in Python that approximates the derivative of a function (sine function) using the limit definition of the derivative. The pdf explains the logic followed.

img

Program in Python that, given a matrix perlin noise values (reward), finds the optimal trayectory given a random start point inside a grid of dimensions $N \times N$ using Bellman's Optimality Equations solved for Q using value iteration as a numerical approximation to the equation's solution. The pdf explains the logic followed.

img

code-journal's People

Contributors

the-other-mariana avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.