fract-ol's Introduction
fract-ol's People
fract-ol's Issues
定数Cの更新処理の実装
julia集合では定数Cを複素数平面座標に応じて形を変形させるため、その更新処理を実装する
impl zoom
バーニングシップの実装
select fractal type by command line
コマンドライン引数として、フラクタルの種類をindexで与える。
コマンドライン引数がinvalidであった場合には、Usageとして
Plese select fractal type
0: mandelbrot, 1: julia
のように表示させる
impl move img func
move img by arrows key
update Makefile
Makefileの構成を
fractol
-includes
-srcs
-objs
に変更する
色づけ方法の変更
現在は発散したiterの数が偶数か奇数かのみで色をつけているが、iter / max_iter * 255でrgbを計算する
delete libft
libftの中で使用した関数がft_putstr_fdだけだったのでlibftを使わないようにする
複素数のリファクタリング
現在の複素数に関する情報の構造体は
typedef struct s_complex_num
{
double z_re;
double z_im;
double c_re;
double c_im;
double delta_re;
double delta_im;
} t_complex_num;
のような状態だが、これを
typedef struct s_complex_num
{
double re;
double im;
} t_complex_num;
typedef struct s_complex_info
{
t_complex_num z;
t_complex_num c;
t_complex_num delta;
} t_complex_info;
のようにまとめる
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.