pel_daniel

pel_daniel

Hi! I created some animations to explain what happens internally with map & reduce functions.
The code is open source. Any feedback is welcome !
https://lambdabricks.github.io/animating-hofs/

Showing Posts 17 to 8

pel_daniel

pel_daniel OP

A newer animation library that a lot of people recommend is theatrejs, I haven’t used it myself but maybe you can give it try

pel_daniel

pel_daniel OP

That’s right, I used greensock. TweenMax used to be a version available to use for free, I’m not sure if there’s a similar offering nowadays.
If you want to check the code for the animations it’s open source in this repo

orion

orion

I checked the source code and found the following Javascript library:

    <script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/1.20.2/TweenMax.min.js"></script>

I did some research and it seems that TweenMax has been replaced by GSAP.

Another way to easily find out what servers, libraries, etc. are being used on a website is by using the Wappalyzer Browser extension.

It would be great to see the animations you make. If you can, please post them in this forum. :+1:

cmo

cmo

@half-of-a-glazier I don’t know what they used but one I saw recently was Mainm: https://www.manim.community/

half-of-a-glazier

half-of-a-glazier

Hey there, I know this is a super old thread but hoping someone will respond anyway!
I’m teaching MapReduce in a data science course and the animation the OP posted is exactly what I was looking for. Which software was used to create the animation? I’d love to be able to create some of my own

pel_daniel

pel_daniel OP

Also map can be done with reduce :slight_smile:

OvermindDL1

OvermindDL1

Filter can be done by reduce as well. :slight_smile:

pel_daniel

pel_daniel OP

At the beginning I was thinking of doing: map, reduce & filter because are the most common HOF.
Filter is a bit more difficult to represent visually because it uses an if statement.

flat_map would be also cool with examples from different Monads.

pel_daniel

pel_daniel OP

Thanks for the comments !

I’ve been thinking about how to make the list in the animation appear immutable but I don’t have a solution for it yet. Do you have any suggestions on how to do it Aston ?

AstonJ

AstonJ

Also just a quick thought - could you make it so that it takes a copy and works on (or makes obvious it’s) the copy? At the moment anyone new might thing it is altering the starting data, rather than returning a copy :slight_smile:

Where Next? Top

Trending in Guides/Tuts Top

c4lliope
# ~/src/livebook/.iex.exs System.cmd("xdg-open", [ LivebookWeb.Endpoint.access_url() ] ) Because Livebook requires a unique passcode on ...
New

Other Trending Topics Top

JesseHerrick
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
marciok
Hi there! We created Gust: A task orchestrator inspired by Airflow. For those who have never heard about Aiflow, it’s a Python-based wor...
New
mhanberg
Hi everyone! The first release candidate for the Expert language server project is now available! We’ve published a press release detai...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Dmk
Xamal is a deployment tool for Elixir apps that deploys native releases to bare metal servers over SSH. It’s a port of GitHub - basecamp/...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews