Here's a step-by-step to get started scripting Minecraft with Python on Linux
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*! p5.js v1.4.1 July 26, 2022 */ | |
"use strict";function _typeof3(e){return(_typeof3="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}!function(e){if("object"===("undefined"==typeof exports?"undefined":_typeof3(exports))&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).p5=e()}}(function(){var a,e,t;return function a(i,s,l){function p(t,e){if(!s[t]){if(!i[t]){var r="function"==typeof require&&require;if(!e&&r)return r(t,!0);if(c)return c(t,!0);var n=new Error("Cannot find module '"+t+"'");throw n.code="MODULE_NOT_FOUND",n}var o=s[t]={exports:{}};i[t][0].call(o.exports,function(e){return p(i[t][1][e]||e)},o,o.exports,a,i,s,l)}return s[t].exports}for(var c="function"==typeof require&&require,e= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Changes for the scripts of the Anki Wanikani Ultimate 2 deck, feel free to use them how you like. | |
Features: | |
- Automatic Romaji to Kana conversion in reading input using WanaKana. | |
- Multiple input support (separated by a space for readings and by a comma for meanings, | |
eg: "axe, loaf bread counter" or "あめ あま"). | |
- Shows each right and wrong answer from your input. | |
- Automatic resizing of characters for small screens. | |
- Reordered the Back template of the cards to be more similar to the Wanikani site (reading related things come first in reading cards, | |
same for meaning). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0⃣ 0, keycap, zero | |
1⃣ 1, number, one | |
🕜 1, 30, clock, time, one, thirty, 1:30, one-thirty | |
🕐 1, clock, time, one, 00, o’clock, 1:00, one o’clock | |
2⃣ 2, number, two | |
🕝 2, 30, clock, time, two, thirty, 2:30, two-thirty | |
🕑 2, clock, time, two, 00, o’clock, 2:00, two o’clock | |
3⃣ 3, keycap, three | |
🕞 3, 30, three, clock, time, thirty, 3:30, three-thirty | |
🕒 3, three, clock, time, 00, o’clock, 3:00, three o’clock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
OpenSimplexNoise noise; | |
int[][] result; | |
float t, c; | |
float ease(float p) { | |
return 3*p*p - 2*p*p*p; | |
} | |
float ease(float p, float g) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<script src="gif.js"></script> | |
<script src="http://cdnjs.cloudflare.com/ajax/libs/p5.js/0.3.11/p5.min.js"></script> | |
<script src="http://cdnjs.cloudflare.com/ajax/libs/p5.js/0.3.11/addons/p5.dom.js"></script> | |
<script src="sketch.js"></script> | |
</head> | |
<body> | |
<p>First, allow camera access.<p><p>Then click once to start recording, and another time finish recording and make a gif.</p> | |
</body> |