

Global rate limit exceededon most reloads





Do you remember what color haseulite is?
In the fictional world of Sandboxels, haseulite is a green metal that is named after the Loona member Haseul, and it is said to burn with a green flame. In the game, the element haseulite has three possible colors, which are specified in its element definition as:elements.haseulite = {color: ["#3cb00e", "#25d119", "#79f553"],...};
These colors are shades of green, and they are used to represent the appearance of the element in-game. The first color, "#3cb00e", is a dark green color, the second color, "#25d119", is a medium green color, and the third color, "#79f553", is a light green color. These colors are chosen to reflect the element's association with the color green and with the Loona member Haseul.
Elements in Sandboxels can also have custom functions that those pixels run each tick (JavaScript functions in the "tick" property), like with haseulite vents. What are some properties that could be implemented with such function
Elements in Sandboxels can have custom functions that are defined in their "tick" property. These functions are run each game tick, allowing elements to have unique behaviors that are not shared by other elements. Some examples of properties that could be implemented with a custom tick function include:
Movement: Elements with a custom tick function could be programmed to move in a specific way. For example, an element might move in a straight line, or it might follow a specific path or pattern.
Interactions with other elements: Elements with a custom tick function could be programmed to interact with other elements in specific ways. For example, an element might be able to absorb or repel other elements, or it might be able to change the properties of other elements when they come into contact with it.
Temperature changes: Elements with a custom tick function could be programmed to change their temperature over time. For example, an element might become hotter or colder depending on its surroundings or the other elements it is interacting with.
State changes: Elements with a custom tick function could be programmed to change their state (solid, liquid, or gas) based on specific conditions. For example, an element might become a gas when it reaches a certain temperature, or it might change from a solid to a liquid when it comes into contact with another element.
Overall, custom tick functions can provide elements with unique behaviors and properties that are not possible with the default elements in the game. These functions can be used to create a wide range of interesting and complex interactions between elements, allowing players to experiment with different combinations and see how they behave

heejinitoidTick() when he wakes up
)clf3.js
chem.js

elements.haseulite = {color: ["#3cb00e", "#25d119", "#79f553"],...};heejinitoidTick()clf3.jschem.jselements.exampleElement = {
color: "#00FF00", // The color of the element in the game
behavior: behaviors.POWDER, // The behavior of the element, such as whether it is a liquid, solid, or gas
tempLow: 0, // The minimum temperature at which the element will exist in its current state
temp: 25, // The default temperature of the element
tempHigh: 100, // The maximum temperature at which the element will exist in its current state
stateLow: "exampleElement_ice", // The state of the element at low temperatures
stateHigh: "exampleElement_gas", // The state of the element at high temperatures
category: "solids", // The category the element belongs to, such as "liquids" or "gasses"
state: "solid", // The default state of the element
density: 1000, // The density of the element, in kilograms per cubic meter
hardness: 0.5, // The hardness of the element, on a scale from 0 to//[excerpt from haseulite.js]
function heejinitoidTick(pixel) {
if(pixel.oldColor === null) { pixel.oldColor = pixel.color };
var color = rgbStringToHSL(convertColorFormats(pixel.oldColor,"rgb"),"json");
var heejiniteHueSpread = 30 + (pixel.temp/9.25)
var hueOffset = (Math.sin(pixelTicks / 11) * heejiniteHueSpread) + 15; color.h += hueOffset;
var color = convertHslObjects(color,"rgb");
pixel.color = color;
};