This was created because I want to create a basic implementation of genetic algorithm. I have seen things like this before, but I forget about the original web page.
+
This was created because I want to create a basic implementation of genetic algorithm. I have seen things like this before, but I forget about the original web page.
There are 25 individuals in each generation. Each new generation is created from top 5 individuals. No individual lives past its generation.
-
You can control and edit initial configuration by clicking "Edit environment" button or you can read its source code and try to modify it yourself!
+
You can control and edit initial configuration by clicking "Edit environment" button or you can read its source code and try to modify it yourself!
-
+
diff --git a/experiment/vibration_test.html b/experiment/vibration_test.html
index a96dfcf..3cfc0c1 100644
--- a/experiment/vibration_test.html
+++ b/experiment/vibration_test.html
@@ -1,5 +1,5 @@
-
+
Web Vibration API - Experiments - srifqi
@@ -45,11 +45,11 @@
I was browsing on the Web when suddenly an advertisement showed up and vibrate my phone. I was confused for a second because it said that there is a virus inside my phone. Knowing that it is an advertisement, I ignored that. But, I did not know that you can vibrate your device from Web!
-
This was created to demonstrate Web Vibration API. It consists of a function, navigator.vibrate(), to do vibration for some amount of time.
+
This was created to demonstrate Web Vibration API. It consists of a function, navigator.vibrate(), to do vibration for some amount of time.
Since the API only allows to vibrate for a finite amount of time, a timer is scheduled to re-vibrate the device (using setTimeout() function). To prevent gap between vibration, the length of each vibration is doubled. It is fine because the vibrate() function will reset the duration.
I'm a computer science student at Sebelas Maret University. I like to do coding and creating mini projects. Sometimes, I document or review my progress in my blog. You can explore them using links on the left bar.
-
I also like to play Minetest, a voxel game engine (and also the game). It is my longest game that I still play (and contribute!) until now. I make mods and published some of them to Minetest Content Database.
+
I'm a computer science student at Sebelas Maret University. I like to do coding and creating mini projects. Sometimes, I document or review my progress in my blog. You can explore them using links on the left bar.
+
I also like to play Minetest, a voxel game engine (and also the game). It is my longest game that I still play (and contribute!) until now. I make mods and published some of them to Minetest Content Database.
While exploring my projects, unless stated, my code is licensed under MIT License.
I like to play Minetest, a voxel game engine (and also the game). It is my longest game that I still play (and contribute!) until now. I make mods and published some of them to Minetest Content Database.
-
Minetest came to me when I was searching for voxel sandboxing game (that is free!) many years ago. Since then, I either play it, create mods for it, or contribute to it. Here are some of my mods:
+
I like to play Minetest, a voxel game engine (and also the game). It is my longest game that I still play (and contribute!) until now. I make mods and published some of them to Minetest Content Database.
+
Minetest came to me when I was searching for voxel sandboxing game (that is free!) many years ago. Since then, I either play it, create mods for it, or contribute to it. Here are some of my mods:
Superflat Map Generator
This mod generates world layer by layer. This mod was created because I read that Minecraft has superflat mode in its world generation. This works the same, albeit uses different format, as superflat in Minecraft.
-
The actual description is "(Yet Another) Superflat Map Generator" because there is another map generator that generates flat world, e.g. built-in flat mapgen and flatgen mod.
+
The actual description is "(Yet Another) Superflat Map Generator" because there is another map generator that generates flat world, e.g. built-in flat mapgen and flatgen mod.
-
+ Flat world from superflat mod
@@ -73,19 +73,19 @@ article>aside {
This mod generates world with more biomes and features than what Minetest had back then. It also supports other mods: moreores and bakedclay. This mod was my attempt to create map generator that uses noise (2D and 3D) and supports another mod.
-
This mod can be modified by another mod. I also create an example for that in another mod: amgmt_plugin. Now, Minetest supports custom biomes from its modding API that makes this mod irrelevant.
+
This mod generates world with more biomes and features than what Minetest had back then. It also supports other mods: moreores and bakedclay. This mod was my attempt to create map generator that uses noise (2D and 3D) and supports another mod.
+
This mod can be modified by another mod. I also create an example for that in another mod: amgmt_plugin. Now, Minetest supports custom biomes from its modding API that makes this mod irrelevant.
-
+ An intersection of many biomes
-
+ A river bordering two biomes
@@ -97,11 +97,11 @@ article>aside {
This mod bans player when they are dead, i.e. Minecraft's hardcore mode.
-
This is a continuation from advancedban mod. I actually forgot which idea comes first: this or ban player's name. If I recall correctly, this idea comes first and then I realised that Minetest bans only IP address.
+
This is a continuation from advancedban mod. I actually forgot which idea comes first: this or ban player's name. If I recall correctly, this idea comes first and then I realised that Minetest bans only IP address.
I have not checked this mod for so long. Maybe, I should back into improving this mod. There are requests to set a timer to reset the list and/or add API for other mods.
This mod limits messages by distance so that only players within certain distance are able to hear. Player can "pay" to "shout" (send message without distance limitation), though.
This mod was created because I like the idea that you can not hear distant speech.
-
This idea already implemented before in chatplus mod. But, shout mod only implements this very idea. Also, it has payment for "shouting".
+
This idea already implemented before in chatplus mod. But, shout mod only implements this very idea. Also, it has payment for "shouting".