mirror of
https://github.com/litruv/picoGraph.git
synced 2026-07-24 02:36:04 +10:00
- Created test_cart.p8 with basic drawing functionality and a print statement. - Created test_unix.p8 with a simple initialization function.
18 lines
391 B
JavaScript
18 lines
391 B
JavaScript
/**
|
|
* @typedef {import('./TypeRegistry.js').TypeDescriptor} TypeDescriptor
|
|
*/
|
|
|
|
/** @type {TypeDescriptor} */
|
|
export const NumberType = {
|
|
id: "number",
|
|
label: "Number",
|
|
color: "#3ee581",
|
|
isVariable: true,
|
|
isLocalVariable: true,
|
|
defaultValue: 0,
|
|
variablePropertyKey: "valueNumber",
|
|
compatibleWith: [
|
|
{ type: "color", convert: (v) => Math.floor(Number(v)) % 16 },
|
|
],
|
|
};
|