I've got a BSc in mathematics, and I've been working in various roles involving software, research, and engineering.
My background can be seen on Linkedin. Some of my older stuff can be seen on DanyShaanan.com.
:package: View the Mandelbrot set from your terminal
Home Page: https://npmjs.org/package/cli-mandelbrot
License: MIT License
I've got a BSc in mathematics, and I've been working in various roles involving software, research, and engineering.
My background can be seen on Linkedin. Some of my older stuff can be seen on DanyShaanan.com.
Algorithm already implemented.
somehow i decided to test what if i zoom to infinity
i did this and the program hanged
you may use something like break_infinity.js to fix this
to reproduce:
zoom in a few times, change terminal window size, zoom out.
possible fixes:
Hi Dany,
please remove the fucking .gitkeep in the /doc directory. Its totally unnecessary and it freaking me out. A lot.
Thank you in advance ๐
Either with browserify, or by making all js files browser-loadable.
Instead of cache by screen, cache by x,y.
var res = calc(x,y,i);
var key = [x,y].toString();
cache[key] = {
i: res.outOfSet ? res.i : i,
a: res.outOfSet ? null : res.a,
b: res.outOfSet ? null : res.b
}
make sure that w and h are odd, so that def.x and def.y will always represent the center point, and zooming in and out will use cached points.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.